package
0.6.7
Repository: https://github.com/aenix-io/talm.git
Documentation: pkg.go.dev

# Functions

NewCircularBufferLoggingManager initializes new CircularBufferLoggingManager.
NewFileLoggingManager initializes new FileLoggingManager.
NewJSONLines returns log sender that sends logs in JSON over TCP (newline-delimited) or UDP (one message per packet).
NewNullLoggingManager initializes NullLoggingManager.

# Constants

Some logs are tiny, no need to reserve too much memory.
Cap each log at 1M.
Safety gap to avoid buffer overruns.

# Structs

CircularBufferLoggingManager implements logging to circular fixed size buffer.
FileLoggingManager implements simple logging to files.
NullLoggingManager sends all the logs to /dev/null.