Documentation ¶
Index ¶
- type LoggerOptions
- func (c *LoggerOptions) UseDefaultCallerKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultEncodeCallerIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultEncodeDurationIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultEncodeLevelIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultEncodeTimeIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultEncodingIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultErrorOutputPathsIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultFunctionKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultLevelKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultLoggingLevelIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultMessageKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultNameKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultOutputPathsIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultStackTraceKeyIfNotSpecified() *LoggerOptions
- func (c *LoggerOptions) UseDefaultTimeKeyIfNotSpecified() *LoggerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerOptions ¶
type LoggerOptions struct { DefaultParameters map[string]interface{} Development bool Encoding string OutputPaths []string ErrorOutputPaths []string Level string TimeKey string LevelKey string NameKey string CallerKey string StackTraceKey string MessageKey string FunctionKey string EncodeLevel *enumeration.EncodeLevel EncodeTime *enumeration.EncodeTime EncodeDuration *enumeration.EncodeDuration EncodeCaller *enumeration.EncodeCaller }
func New ¶
func New() *LoggerOptions
func (*LoggerOptions) UseDefaultCallerKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultCallerKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultEncodeCallerIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultEncodeCallerIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultEncodeDurationIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultEncodeDurationIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultEncodeLevelIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultEncodeLevelIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultEncodeTimeIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultEncodeTimeIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultEncodingIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultEncodingIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultErrorOutputPathsIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultErrorOutputPathsIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultFunctionKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultFunctionKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultLevelKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultLevelKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultLoggingLevelIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultLoggingLevelIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultMessageKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultMessageKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultNameKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultNameKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultOutputPathsIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultOutputPathsIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultStackTraceKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultStackTraceKeyIfNotSpecified() *LoggerOptions
func (*LoggerOptions) UseDefaultTimeKeyIfNotSpecified ¶
func (c *LoggerOptions) UseDefaultTimeKeyIfNotSpecified() *LoggerOptions
Click to show internal directories.
Click to hide internal directories.