package
0.2.0
Repository: https://github.com/nginproject/ngind.git
Documentation: pkg.go.dev

# Packages

Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.

# Functions

AddLogSystem starts printing messages to the given LogSystem.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateMLogFile creates a new log file and returns the file and its filename, which contains tag ("INFO", "FATAL", etc.) and t.
Flush waits until all current log messages have been dispatched to the active log systems.
No description provided by the author
No description provided by the author
GetMlogRegistryActive returns copy of all active components mapping.
GetMlogRegistryAvailable returns copy of all registered components mapping.
No description provided by the author
MLogRegisterActive registers a component for mlogging.
MLogRegisterAvailable is called for each log component variable from a package/mlog.go file as they set up their mlog vars.
MLogRegisterComponentsFromContext receives a comma-separated string of desired mlog components.
No description provided by the author
No description provided by the author
NewJSONLogSystem creates a LogSystem that prints to the given writer without adding extra information irrespective of loglevel only if message is JSON type.
No description provided by the author
No description provided by the author
No description provided by the author
NewStdLogSystem creates a LogSystem that prints to the given writer.
Reset removes all active log systems.
SetMLogDir sets the mlog directory, into which one mlog file per session will be written.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Standard log levels.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Logger prints messages prefixed by a given tag.
No description provided by the author
No description provided by the author
MLogDetailT defines an mlog LINE DETAILS.
No description provided by the author
MLogT defines an mlog LINE.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
LogSystem is implemented by log output devices.

# Type aliases

No description provided by the author