package
1.0.65
Repository: https://github.com/manyakrus/starter.git
Documentation: pkg.go.dev

# Functions

AddHook adds a hook to the logger hooks.
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
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
GetLevel returns the logger level.
GetLog - возвращает глобальный логгер приложения и создаёт логгер если ещё не создан.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsLevelEnabled checks if the log level of the logger is greater than the level param.
Log will log a message at the level given as parameter.
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
No description provided by the author
No description provided by the author
No description provided by the author
ReplaceHooks replaces the logger hooks and returns the old ones.
SetBufferPool sets the logger buffer pool.
SetFormatter sets the logger formatter.
SetLevel - изменяет уровень логирования.
When file is opened with appending mode, it's safe to write concurrently to a file (within 4k message on Linux).
SetOutput sets the logger output.
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
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
Add a context to the log entry.
Add an error as single field to the log entry.
WithField allocates a new entry and adds a field to it.
Adds a struct of fields to the log entry.
Overrides the time of the log entry.