Modifier | Constructor and Description |
---|---|
protected |
LocalLogs() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addEntry(java.lang.String logType,
LogEntry entry) |
abstract LogEntries |
get(java.lang.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,
java.util.Set<java.lang.String> logTypesToInclude) |
static LocalLogs |
getNullLogger()
Logger which doesn't do anything.
|
static LocalLogs |
getStoringLoggerInstance(java.util.Set<java.lang.String> logTypesToIgnore) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAvailableLogTypes
public static LocalLogs getNullLogger()
public static LocalLogs getStoringLoggerInstance(java.util.Set<java.lang.String> logTypesToIgnore)
public static LocalLogs getHandlerBasedLoggerInstance(LoggingHandler loggingHandler, java.util.Set<java.lang.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(java.lang.String logType)
Logs
LoggingPreferences
.public abstract void addEntry(java.lang.String logType, LogEntry entry)