Documentation
¶
Index ¶
- func NewConsoleLogger() xlog.XLogger
- func NewConsoleLoggerWith(stack xlog.Stack) xlog.XLogger
- func NewConsoleLoggerWithTraceId(traceId string, stack xlog.Stack) xlog.XLogger
- func NewConsoleTraceLogger(traceId string) xlog.XLogger
- func NewDefaultLogger() xlog.XLogger
- func NewDefaultTraceLogger(traceId string) xlog.XLogger
- func NewLogger(path, category string, stack xlog.Stack, opts ...Option) xlog.XLogger
- func NewLoggerWithTraceId(traceId, path, category string, stack xlog.Stack, opts ...Option) xlog.XLogger
- func NewLoggers(path string, categories []string, stack xlog.Stack) *loggers
- func NewRestyWrapper(l xlog.XLogger) resty.Logger
- func NewStdoutHook(f logrus.Formatter) *stdoutHook
- type LogFormat
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleLogger ¶
func NewConsoleTraceLogger ¶
func NewDefaultLogger ¶
func NewDefaultTraceLogger ¶
func NewLoggerWithTraceId ¶
func NewStdoutHook ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.