Package com.codingchili.core.logging
Class RemoteLogger
java.lang.Object
java.util.logging.Handler
com.codingchili.core.logging.AbstractLogger
com.codingchili.core.logging.RemoteLogger
- All Implemented Interfaces:
JsonLogger
,Logger
A logger that logs to a remote host.
-
Field Summary
Fields inherited from class com.codingchili.core.logging.AbstractLogger
aClass, context, logger, metadata
-
Constructor Summary
-
Method Summary
Methods inherited from class com.codingchili.core.logging.AbstractLogger
event, event, flush, log, log, onAlreadyInitialized, onCacheCleared, onConfigurationDefaultsLoaded, onError, onFileLoaded, onFileLoadError, onFileSaved, onFileSaveError, onHandlerMissing, onInvalidConfigurable, onListenerStarted, onListenerStopped, onMetricsSnapshot, onSecurityDependencyMissing, onServiceFailed, onServiceStarted, onServiceStopped, onTimerSourceChanged, publish, removeMetadata, setMetadata, setMetadataValue
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
RemoteLogger
-
-
Method Details
-
log
- Specified by:
log
in interfaceJsonLogger
- Overrides:
log
in classAbstractLogger
- Parameters:
data
- the data to be logged.- Returns:
- fluent
-
close
Description copied from interface:Logger
Shuts down the logger instance, frees any resources such as files or thread pools.- Specified by:
close
in interfaceLogger
- Overrides:
close
in classAbstractLogger
- Throws:
SecurityException
-