Interface EngineLoggingFactory.Logger
- Enclosing class:
EngineLoggingFactory
public static interface EngineLoggingFactory.Logger
Logger interface for all log writing.
- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptionvoidOutputs a DEBUG log message.voidOutputs a DEBUG log message, formatted.voidOutputs a ERROR log message.voidOutputs a ERROR log message.voidOutputs a ERROR log message, formatted.voidOutputs a ERROR log message, formatted.voidOutputs a FATAL log message.voidOutputs a FATAL log message.voidOutputs a FATAL log message, formatted.voidOutputs a FATAL log message, formatted.Gets the current individual logging level for this logger.voidOutputs a INFO log message.voidOutputs a INFO log message, formatted.voidsetLoggingLevel(EngineLoggingFactory.LogLevel loglevel) Sets the individual logging level for this logger.voidOutputs a SEVERE log message.voidOutputs a SEVERE log message.voidOutputs a SEVERE log message, formatted.voidOutputs a SEVERE log message, formatted.voidOutputs a WARNING log message.voidOutputs a WARNING log message, formatted.
-
Method Details
-
setLoggingLevel
Sets the individual logging level for this logger.- Parameters:
loglevel- the desired logging level or null to defer to the parent factory level.
-
getLoggingLevel
EngineLoggingFactory.LogLevel getLoggingLevel()Gets the current individual logging level for this logger.- Returns:
- the current level. can be null, meaning this defers to the parent factory's log level.
-
fatal
Outputs a FATAL log message.- Parameters:
message- the object to convert to a string to dump.
-
fatalf
-
fatal
-
fatalf
Outputs a FATAL log message, formatted. A newline is always appended to the end of the message.- Parameters:
t- the throwable to print along with the message.formatString- the formatting string to use to render the args.args- the additional parameters for the formatter.
-
severe
Outputs a SEVERE log message.- Parameters:
message- the object to convert to a string to dump.
-
severef
-
severe
-
severef
Outputs a SEVERE log message, formatted. A newline is always appended to the end of the message.- Parameters:
t- the throwable to print along with the message.formatString- the formatting string to use to render the args.args- the additional parameters for the formatter.
-
error
Outputs a ERROR log message.- Parameters:
message- the object to convert to a string to dump.
-
errorf
-
error
-
errorf
Outputs a ERROR log message, formatted. A newline is always appended to the end of the message.- Parameters:
t- the throwable to print along with the message.formatString- the formatting string to use to render the args.args- the additional parameters for the formatter.
-
warn
Outputs a WARNING log message.- Parameters:
message- the object to convert to a string to dump.
-
warnf
-
info
Outputs a INFO log message.- Parameters:
message- the object to convert to a string to dump.
-
infof
-
debug
Outputs a DEBUG log message.- Parameters:
message- the object to convert to a string to dump.
-
debugf
-