package
0.5.0
Repository: https://github.com/huminghe/framework.git
Documentation: pkg.go.dev

# Functions

Flush is flush logs to output.
GetLoggingConfig return logging configs.
NewBufferedWriter creates a new buffered writer struct.
NewConsoleWriter creates a new console writer.
NewRollingFileWriterSize create a new writer with several parameters.
NewRollingFileWriterTime create rolling writer.
RegisterWebsocketHandler used to register websocket handler.
SetLogging init set logging.
UpdateLoggingConfig update logging config.

# Structs

BufferedWriter stores data in memory and flushes it every flushPeriod or when buffer is full.
ConsoleWriter is used to write to console.
CustomReceiver is a struct of custom log receiver, which implements seelog.CustomReceiver.
No description provided by the author
RollingFileWriterSize performs roll when file exceeds a specified limit.
RollingFileWriterTime performs roll when a specified time interval has passed.