mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 01:44:43 +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)
|
|
}
|