A logger that prints into a file
A logger that prints to stderr
A logger that prints to stdout
Log messages severity
add a log entry with debug severity
add a log entry with error severity
add a log entry with info severity
add a log entry
add a log entry with trace severity
add a log entry with warning severity
An abstract logger. All log operations are synchronized by a global mutex. Implementations do not need to bother about thread safety.
The default severity
The default severity
The installed logger. By default StdOutLogger. Assigning null re-assign the default
A mask for bypassing some messages. By default 0xffffffff
The format string for log messages The entries are as follow: - %d: datetime (formatted according timeFormat) - %s: severity - %p: padding of severity - %t: tag - %m: msg The default format string is defaultMsgFormat
Minimum Severity for message filtering. All messages with lower severity are filtered out. By default Severity.info in release builds and Severity.debug_ in debug builds.
The format string for date-time in log message The format of this string is the same as smjg.libs.util.datetime: http://pr.stewartsplace.org.uk/d/sutil/doc/datetimeformat.html
LogTag encapsulate a string tag and a bitmask. It a also have helpers to log entries with the given tag and mask.
The default filter mask
the default format string for log messages
the default format string for date-time
Logging module
This module provides logging functionality. Everything is thread-safe at the exception of global severity and mask getters/setters. This is done so to avoid paying for synchronization of log entries that will be filtered out.