Documentation ¶ Index ¶ type Logger func NewFileLogger(level, logFile string) (*Logger, error) func NewLogger(level string) *Logger func (l *Logger) WithBackupFile(fileName string) *logrus.Entry func (l *Logger) WithDatabase(dbName string) *logrus.Entry func (l *Logger) WithError(err error) *logrus.Entry Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger struct { *logrus.Logger } func NewFileLogger ¶ func NewFileLogger(level, logFile string) (*Logger, error) func NewLogger ¶ func NewLogger(level string) *Logger func (*Logger) WithBackupFile ¶ func (l *Logger) WithBackupFile(fileName string) *logrus.Entry func (*Logger) WithDatabase ¶ func (l *Logger) WithDatabase(dbName string) *logrus.Entry func (*Logger) WithError ¶ func (l *Logger) WithError(err error) *logrus.Entry Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.