package
0.0.0-20230325142858-d6598e9f0cce
Repository: https://github.com/al-khazarr/gatekeeper.git
Documentation: pkg.go.dev

# Functions

Check - проверить, что уровень выше глобального и есть подходящие логеры.
CloseLogger - закрыть все Logger и создать дефолтный.
Debug print message in Debug level.
Error print message in Error level.
ErrorAsInfo print error in Info level.
GetCaller returns a Valuer that returns a file and line from a specified depth in the callstack.
GetCallerShort returns a Valuer that returns a file and line from a specified depth in the callstack.
GetTimestampStr format time.
No description provided by the author
No description provided by the author
Info print message in Info level.
Log print message.
NewFileLogger - создать новый логгер в файл.
SetGlobalConfig - apply new config.
SetStdFilterLevel set log level.

# 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

# Structs

Config конфигурация сервиса логирования.
FileConfig.
StdConfig.
WrappedWriteSyncer is a helper struct implementing zapcore.WriteSyncer to wrap a standard os.Stdout handle, giving control over the WriteSyncer's Sync() function.
ZapConfig.
ZapCoreConfig.
ZapEncoderConfig.