mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-27 19:04:28 +01:00
21 lines
334 B
Go
21 lines
334 B
Go
package endpoint
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zrepl/zrepl/internal/daemon/logging"
|
|
"github.com/zrepl/zrepl/internal/logger"
|
|
)
|
|
|
|
type contextKey int
|
|
|
|
const (
|
|
ClientIdentityKey contextKey = iota
|
|
)
|
|
|
|
type Logger = logger.Logger
|
|
|
|
func getLogger(ctx context.Context) Logger {
|
|
return logging.GetLogger(ctx, logging.SubsysEndpoint)
|
|
}
|