Versions in this module Expand all Collapse all v1 v1.0.0 Dec 30, 2020 Changes in this version + func Close() + func Debugf(format string, v ...interface{}) + func Errorf(format string, v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Infof(format string, v ...interface{}) + func Init(filename, level string) + func Warningf(format string, v ...interface{}) + type LogLevel int + const LOG_DEBUG + const LOG_ERROR + const LOG_FATAL + const LOG_INFO + const LOG_WARNING + func (ll LogLevel) String() string + type Logger struct + Level LogLevel + func NewLogger(fileName string, prefix string, level string) *Logger + func (l *Logger) Close() bool + func (l *Logger) WithLevelf(lev LogLevel, format string, v ...interface{})