- All Known Implementing Classes:
BaseLog
,BaseTextLog
,ConsoleLog
Accepts log entries for some purpose, such as writing them to a file or displaying them in a terminal window.
Logger
implementations write log entries to one or more Log
s via log(LogEntry)
. Which log entries
are logged can be controlled with filters returned from Filtered.filters()
and by setting a minimum severity
level with level(Severity)
. Some logs are configurable with a string-to-string property map via configure(Map)
. Logs are also Closeable
, Flushable
and Named
.
Wiki Documentation
For a detailed discussion of KivaKit logging, see the KivaKit logging documentation on the wiki.
Implementations
There are a variety of Log
implementations, including:
ConsoleLog
- Logs toSystem.out
andSystem.err
- EmailLog - Sends (typically high severity) log entries as emails
- ServerLog - Makes log entries available to a client
- FileLog - Logs entries to one or more files
-
Method Summary
-
Method Details
-
configure
Configures the log- Parameters:
properties
- A property map specific to the type of log
-