Package org.spongepowered.asm.logging
Class LoggerAdapterJava
java.lang.Object
org.spongepowered.asm.logging.LoggerAdapterAbstract
org.spongepowered.asm.logging.LoggerAdapterJava
- All Implemented Interfaces:
ILogger
Logger adapter which uses the built-in Java logging functionality to emit
logging messages.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spongepowered.asm.logging.LoggerAdapterAbstract
LoggerAdapterAbstract.FormattedMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs an exception or error that has been caught.voidLogs a message with parameters at theDEBUGlevel.voidvoidLogs a message with parameters at theERRORlevelvoidvoidLogs a message with parameters at theFATALlevel.voidgetType()Get a short human-readable name of this logger typevoidLogs a message with parameters at theINFOlevel.voidvoidLogs a message with parameters at the given level.voidLogs a message at the given level including the stack trace of theThrowabletpassed as parameter.<T extends Throwable>
Tthrowing(T t) Logs an exception or error to be thrown.voidLogs a message with parameters at theTRACElevel.voidvoidLogs a message with parameters at theWARNlevel.voidMethods inherited from class org.spongepowered.asm.logging.LoggerAdapterAbstract
catching, getId
-
Constructor Details
-
LoggerAdapterJava
-
-
Method Details
-
getType
Description copied from interface:ILoggerGet a short human-readable name of this logger type -
catching
Description copied from interface:ILoggerLogs an exception or error that has been caught.- Parameters:
level- The logging Level.t- The Throwable.
-
debug
Description copied from interface:ILoggerLogs a message with parameters at theDEBUGlevel.- Specified by:
debugin interfaceILogger- Overrides:
debugin classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
debug
Description copied from interface:ILogger- Specified by:
debugin interfaceILogger- Overrides:
debugin classLoggerAdapterAbstract- Parameters:
message- the message to logt- the exception to log, including its stack trace
-
error
Description copied from interface:ILoggerLogs a message with parameters at theERRORlevel- Specified by:
errorin interfaceILogger- Overrides:
errorin classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
error
Description copied from interface:ILogger- Specified by:
errorin interfaceILogger- Overrides:
errorin classLoggerAdapterAbstract- Parameters:
message- the message object to logt- the exception to log, including its stack trace
-
fatal
Description copied from interface:ILoggerLogs a message with parameters at theFATALlevel.- Specified by:
fatalin interfaceILogger- Overrides:
fatalin classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
fatal
Description copied from interface:ILogger- Specified by:
fatalin interfaceILogger- Overrides:
fatalin classLoggerAdapterAbstract- Parameters:
message- the message object to logt- the exception to log, including its stack trace
-
info
Description copied from interface:ILoggerLogs a message with parameters at theINFOlevel.- Specified by:
infoin interfaceILogger- Overrides:
infoin classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
info
Description copied from interface:ILogger- Specified by:
infoin interfaceILogger- Overrides:
infoin classLoggerAdapterAbstract- Parameters:
message- the message object to logt- the exception to log, including its stack trace
-
log
Description copied from interface:ILoggerLogs a message with parameters at the given level.- Parameters:
level- the logging levelmessage- the message to logparams- parameters to the message
-
log
Description copied from interface:ILoggerLogs a message at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmessage- the message to logt- the exception to log, including its stack trace
-
throwing
Description copied from interface:ILoggerLogs an exception or error to be thrown.- Type Parameters:
T- the Throwable type- Parameters:
t- The Throwable- Returns:
- the Throwable
-
trace
Description copied from interface:ILoggerLogs a message with parameters at theTRACElevel.- Specified by:
tracein interfaceILogger- Overrides:
tracein classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
trace
Description copied from interface:ILogger- Specified by:
tracein interfaceILogger- Overrides:
tracein classLoggerAdapterAbstract- Parameters:
message- the message object to logt- the exception to log, including its stack trace
-
warn
Description copied from interface:ILoggerLogs a message with parameters at theWARNlevel.- Specified by:
warnin interfaceILogger- Overrides:
warnin classLoggerAdapterAbstract- Parameters:
message- the message to logparams- parameters to the message
-
warn
Description copied from interface:ILogger- Specified by:
warnin interfaceILogger- Overrides:
warnin classLoggerAdapterAbstract- Parameters:
message- the message object to logt- the exception to log, including its stack trace
-