package
0.0.0-20200630034751-590ca12ed7fe
Repository: https://github.com/fsn-dev/crosschain-bridge.git
Documentation: pkg.go.dev
# Functions
Crit alias of `Fatal`.
Critf alias of `Fatalf`.
Critln alias of `Fatalln`.
Debug debug.
Debugf debugf.
Debugln debugln.
Error error.
Errorf errorf.
Errorln errorln.
Fatal fatal.
Fatalf fatalf.
Fatalln fatalln.
Info info.
Infof infof.
Infoln infoln.
Panic panic.
Panicf panicf.
Panicln panicln.
Print print.
Printf printf.
Println println.
SetLogFile set log file path and rotation.
SetLogger set log level and format etc.
Trace trace.
Tracef tracef.
Traceln traceln.
Warn warn.
Warnf warnf.
Warnln warnln.
WithFields encapsulate logrus.WithFields.
# Variables
JSONFormat print log in json format.