mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 11:51:16 -06:00
14 lines
246 B
Go
14 lines
246 B
Go
package svc
|
|
|
|
import (
|
|
"github.com/owncloud/ocis-pkg/v2/log"
|
|
)
|
|
|
|
// NewLogging returns a service that logs messages.
|
|
func NewLogging(next Service, logger log.Logger) Service {
|
|
return Service{
|
|
manager: next.manager,
|
|
config: next.config,
|
|
}
|
|
}
|