package
1.9.8
Repository: https://github.com/lockp111/toolkit.git
Documentation: pkg.go.dev

# Functions

Debug logs a message at level Debug on the standard logger.
Debugf logs a message at level Debug on the standard logger.
Debugln logs a message at level Debug on the standard logger.
Error logs a message at level Error on the standard logger.
Errorf logs a message at level Error on the standard logger.
Errorln logs a message at level Error on the standard logger.
Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
Fatalf logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
Fatalln logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
FilterStruct ..
GetDingDingSwitch ...
GetLevel returns the standard logger level.
GetTelegramSwitch ...
Info logs a message at level Info on the standard logger.
Infof logs a message at level Info on the standard logger.
Infoln logs a message at level Info on the standard logger.
InsertAPILogsFunc ..
InsertNormalLogsFunc ..
InsertOperationLogsFunc ..
IsLevelEnabled checks if the log level of the standard logger is greater than the level param.
NewDBHook ...
NewDingDingHook ...
NewTelegramHook ...
Panic logs a message at level Panic on the standard logger.
Panicf logs a message at level Panic on the standard logger.
Panicln logs a message at level Panic on the standard logger.
Print logs a message at level Info on the standard logger.
Printf logs a message at level Info on the standard logger.
Println logs a message at level Info on the standard logger.
ReplaceKey ..
SetDingDingSwitch ...
SetFormatter sets the standard logger formatter.
SetLevel sets the standard logger level.
SetOutput sets the standard logger output.
SetTelegramSwitch ...
SettingLog ...
No description provided by the author
Warn logs a message at level Warn on the standard logger.
Warnf logs a message at level Warn on the standard logger.
Warning logs a message at level Warn on the standard logger.
Warningf logs a message at level Warn on the standard logger.
Warningln logs a message at level Warn on the standard logger.
Warnln logs a message at level Warn on the standard logger.
WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key.
WithField creates an entry from the standard logger and adds a field to it.
WithFields creates an entry from the standard logger and adds multiple fields to it.
WithTime creats an entry from the standard logger and overrides the time of logs generated with it.

# Constants

constants.
LogTable.
LogTable.
LogTable.
LogTable.

# Structs

APILog ..
Config ...
ContextHook ..
DBHook ..
DBInfo ..
DingDingHook ..
Logs ...
NormalLog ..
OperLog ..
TelegramHook ..

# Type aliases

Fields ...