Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SetupLogging ¶
func SetupLogging(env env.Environment, loglevel Level)
SetupLogging sets up logging for the environment and the default log level
Types ¶
type Logger ¶
type Logger interface { Trace(args ...any) Tracef(format string, args ...any) Debug(args ...any) Debugf(format string, args ...any) Info(args ...any) Infof(format string, args ...any) Warn(args ...any) Warnf(format string, args ...any) Error(args ...any) Errorf(format string, args ...any) Fatal(args ...any) Fatalf(format string, args ...any) Printf(format string, args ...any) WithTime(t time.Time) Logger WithContext(ctx context.Context) Logger WithError(err error) Logger WithField(key string, value any) Logger WithFields(fields ...any) Logger }
Click to show internal directories.
Click to hide internal directories.