package
0.2.29
Repository: https://github.com/tkcrm/mx.git
Documentation: pkg.go.dev

# Functions

Default returns default logger instance.
Default returns default extended logger instance.
ForTests wrapped logger for tests.
New - init new logger with options.
NewExtended - init new extended logger with options.
With allows to provide zap.SugaredLogger as common interface.
WithAppName allows to set application name to logger fields.
WithAppVersion allows to set application version to logger fields.
No description provided by the author
No description provided by the author
WithConsoleColored allows to set colored console output.
WithExtended allows to provide zap.SugaredLogger as common interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithZapOption allows to set zap.Option.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author
Logger common interface.

# Type aliases

A LogFormat is a string that represents the log format.
No description provided by the author
No description provided by the author
Sink defines the interface to write to and close logger destinations.
WriteSyncer is an io.Writer that can also flush any buffered data.