package
0.0.0-20191216141000-80c419206be7
Repository: https://github.com/aboutgoods/go-utils.git
Documentation: pkg.go.dev
# Functions
AddToContext add elements to a global context It will add the key-value pair when calling the other functions available.
Debug is the global Contextualisation of logrus' eponym function.
Debugf is the global Contextualisation of logrus' eponym function.
Debugln is the global Contextualisation of logrus' eponym function.
Error is the global Contextualisation of logrus' eponym function.
Errorf is the global Contextualisation of logrus' eponym function.
Errorln is the global Contextualisation of logrus' eponym function.
Fatal is the global Contextualisation of logrus' eponym function.
Fatalf is the global Contextualisation of logrus' eponym function.
Fatalln is the global Contextualisation of logrus' eponym function.
Info is the global Contextualisation of logrus' eponym function.
Infof is the global Contextualisation of logrus' eponym function.
Infoln is the global Contextualisation of logrus' eponym function.
No description provided by the author
NoticeOnError if an error occurs, logs it and return true, otherwise false.
Panic is the global Contextualisation of logrus' eponym function.
Panicf is the global Contextualisation of logrus' eponym function.
Panicln is the global Contextualisation of logrus' eponym function.
PanicOnError stops the program and logs it if the error passed as the first argument is not nil.
Print is the global Contextualisation of logrus' eponym function.
Printf is the global Contextualisation of logrus' eponym function.
Println is the global Contextualisation of logrus' eponym function.
RemoveFromContext remove element(s) from the global context It will remove on next call from the global context the key(s) passed as argument.
ResetContext will reset the global context of the logger.
Trace is the global Contextualisation of logrus' eponym function.
Tracef is the global Contextualisation of logrus' eponym function.
Traceln is the global Contextualisation of logrus' eponym function.
Warn is the global Contextualisation of logrus' eponym function.
Warnf is the global Contextualisation of logrus' eponym function.
Warning is the global Contextualisation of logrus' eponym function.
Warningf is the global Contextualisation of logrus' eponym function.
Warningln is the global Contextualisation of logrus' eponym function.
Warnln is the global Contextualisation of logrus' eponym function.