package
0.1.1
Repository: https://github.com/godevsig/glib.git
Documentation: pkg.go.dev

# Functions

GetStream returns the Stream handle if it has been created with the same input non empty "name", returns nil if not.
NewStream creates a Stream instance.
RegOutputterFactory registers an output destination type.
StringToLoglevel returns the loglevel described by the given string.

# Constants

All predefined loglevels.
These flags define which text to prefix to each log entry generated by the Logger.
All predefined loglevels.
All predefined loglevels.
the file and line in the source code that prints the message.
All predefined loglevels.
All predefined loglevels.
All predefined loglevels.
use UTC rather than the local time zone.
All predefined loglevels.

# Variables

DefaultStream is the builtin output stream instance.

# Structs

Logger is the logger instance.
Stream is a output stream handle, all loggers under a stream share one output destination and same log format, but can have separete loglevel.

# Interfaces

OutputterFactory is an outputter type.

# Type aliases

Flag controls output format.
Loglevel is one of the predefined loglevels.
Outputter outputs log lines.