package
1.1.3
Repository: https://github.com/infinitbyte/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.
No description provided by the author
NewRollingFileWriterSize create a new writer with several parameters.
NewRollingFileWriterTime create rolling writer.
RegisterWebsocketHandler used to register websocket handler.
SetLogging init set logging.

# Structs

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