Modifier | Constructor and Description |
---|---|
protected |
LocalLogs() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addEntry(String logType,
LogEntry entry) |
abstract LogEntries |
get(String logType)
Fetches available log entries for the given log type.
|
static LocalLogs |
getCombinedLogsHolder(LocalLogs predefinedTypeLogger,
LocalLogs allTypesLogger)
See documentation of CompositeLocalLogs about the difference between the first
LocalLogs instance and the second one.
|
static LocalLogs |
getHandlerBasedLoggerInstance(LoggingHandler loggingHandler,
Set<String> logTypesToInclude) |
static LocalLogs |
getNullLogger()
Logger which doesn't do anything.
|
static LocalLogs |
getStoringLoggerInstance(Set<String> logTypesToIgnore) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAvailableLogTypes
public static LocalLogs getNullLogger()
public static LocalLogs getStoringLoggerInstance(Set<String> logTypesToIgnore)
public static LocalLogs getHandlerBasedLoggerInstance(LoggingHandler loggingHandler, Set<String> logTypesToInclude)
public static LocalLogs getCombinedLogsHolder(LocalLogs predefinedTypeLogger, LocalLogs allTypesLogger)
predefinedTypeLogger
- LocalLogs which pre-defines the log types it stores.allTypesLogger
- LocalLogs which can store log entries for all log types.public abstract LogEntries get(String logType)
Logs
LoggingPreferences
.Copyright © 2013. All Rights Reserved.