Versions in this module Expand all Collapse all v0 v0.24.3 Jun 16, 2023 Changes in this version + const DATA_DOCUMENTS + const ERROR + const INPUT_TYPE + const JUDGEMENT_KEY + const JUDGEMENT_NAME + const MODULES + const PACKAGE + const PATH + const POLICY_TYPE + const RESOURCE_ID + const RESOURCE_TYPE + type Logger interface + Debug func(ctx context.Context, msg string) + Error func(ctx context.Context, msg string) + Info func(ctx context.Context, msg string) + Trace func(ctx context.Context, msg string) + Warn func(ctx context.Context, msg string) + WithError func(err error) Logger + WithField func(name string, value interface{}) Logger + var NopLogger Logger = NewZeroLogger(zerolog.Nop()) + var StdErrLogger Logger = NewZeroLogger(...()) + func NewZeroLogger(zl zerolog.Logger) Logger + type ZeroLogger struct + func (l *ZeroLogger) Debug(_ context.Context, msg string) + func (l *ZeroLogger) Error(_ context.Context, msg string) + func (l *ZeroLogger) Info(_ context.Context, msg string) + func (l *ZeroLogger) Trace(_ context.Context, msg string) + func (l *ZeroLogger) Warn(_ context.Context, msg string) + func (l *ZeroLogger) WithError(err error) Logger + func (l *ZeroLogger) WithField(name string, value interface{}) Logger