Documentation ¶
Index ¶
- func LogErrAsErrorExceptAsDebugIfClosingError(logInstance logger.Logger, err error, message string, args ...interface{})
- func LogErrAsWarnExceptAsDebugIfClosingError(logInstance logger.Logger, err error, message string, args ...interface{})
- func NewFileLogging(args ArgsFileLogging) (*fileLogging, error)
- type ArgsFileLogging
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogErrAsErrorExceptAsDebugIfClosingError ¶
func LogErrAsErrorExceptAsDebugIfClosingError(logInstance logger.Logger, err error, message string, args ...interface{})
LogErrAsErrorExceptAsDebugIfClosingError logs an error
func LogErrAsWarnExceptAsDebugIfClosingError ¶
func LogErrAsWarnExceptAsDebugIfClosingError(logInstance logger.Logger, err error, message string, args ...interface{})
LogErrAsWarnExceptAsDebugIfClosingError logs an error
func NewFileLogging ¶
func NewFileLogging(args ArgsFileLogging) (*fileLogging, error)
NewFileLogging creates a file log watcher used to break the log file into multiple smaller files
Types ¶
type ArgsFileLogging ¶
ArgsFileLogging is the argument for the file logger
Click to show internal directories.
Click to hide internal directories.