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 ¶ added in v1.3.37
func LogErrAsErrorExceptAsDebugIfClosingError(logInstance logger.Logger, err error, message string, args ...interface{})
LogErrAsErrorExceptAsDebugIfClosingError logs an error
func LogErrAsWarnExceptAsDebugIfClosingError ¶ added in v1.3.37
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 ¶ added in v1.3.18
ArgsFileLogging is the argument for the file logger
Click to show internal directories.
Click to hide internal directories.