Documentation ¶
Index ¶
- func Debug(s string, v ...interface{})
- func Error(s string, v ...interface{})
- func Fatal(err error, s string, v ...interface{})
- func FatalOnError(err error, output ...interface{})
- func GetLogFilePath() string
- func Info(s string, v ...interface{})
- func Init(app string, opts ...Option) error
- func InitLogger(logLevel, appName string) error
- func Verbose(s string, v ...interface{})
- func Warn(s string, v ...interface{})
- type AdaptorOption
- type Config
- type ExitFunc
- type Level
- type LogPrefixFunc
- type Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FatalOnError ¶
func FatalOnError(err error, output ...interface{})
func GetLogFilePath ¶
func GetLogFilePath() string
func InitLogger ¶
Types ¶
type AdaptorOption ¶
type AdaptorOption func(*option)
type LogPrefixFunc ¶
Click to show internal directories.
Click to hide internal directories.