public final class Logger extends Object
Constructor and Description |
---|
Logger(Class clazz)
Creates a new Manta logger for a given class.
|
Logger(String className)
Creates a new Manta logger for a given class.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(Object message)
Logs a message with parameters at debug level.
|
void |
debug(Object message,
Throwable t)
Logs a message with parameters at debug level.
|
void |
debug(String message)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object... params)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9,
Object arg10)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Throwable t)
Logs a message with an exception at debug level.
|
void |
info(Object message)
Logs a message with parameters at info level.
|
void |
info(Object message,
Throwable t)
Logs a message with parameters at info level.
|
void |
info(String message)
Logs a message with parameters at info level.
|
void |
info(String message,
Object... params)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9)
Logs a message with parameters at info level.
|
void |
info(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9,
Object arg10)
Logs a message with parameters at info level.
|
void |
info(String message,
Throwable t)
Logs a message with an exception at info level.
|
void |
log(GenericBuilder builder)
Logs a message with parameters at warn, error and fatal level.
|
void |
log(GenericBuilder builder,
boolean contextFlag)
Logs a message with parameters at warn, error and fatal level.
|
void |
trace(Object message)
Logs a message with parameters at trace level.
|
void |
trace(Object message,
Throwable t)
Logs a message with an exception at trace level.
|
void |
trace(String message)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object... params)
Logs a message with parameters at debug level.
|
void |
trace(String message,
Object arg1)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5,
Object arg6,
Object arg7,
Object arg8,
Object arg9,
Object arg10)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Throwable t)
Logs a message with an exception at trace level.
|
public Logger(String className)
className
- Name of the given class.public Logger(Class clazz)
clazz
- The given class.public void trace(Object message)
message
- the object to logpublic void trace(Object message, Throwable t)
message
- the object to logt
- the exception to logpublic void trace(String message)
message
- the message to logpublic void trace(String message, Throwable t)
message
- the message to logt
- the exception to logpublic void trace(String message, Object arg1)
message
- the message to logarg1
- parameter to the message.public void trace(String message, Object arg1, Object arg2)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.public void trace(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.arg10
- parameter to the message.public void trace(String message, Object... params)
message
- the message to logparams
- parameters to the message.public void debug(Object message)
message
- the object to logpublic void debug(Object message, Throwable t)
message
- the object to logt
- throwable to log.public void debug(String message)
message
- the message to logpublic void debug(String message, Throwable t)
message
- the message to logt
- throwable to log.public void debug(String message, Object arg1)
message
- the message to logarg1
- parameter to the message.public void debug(String message, Object arg1, Object arg2)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.public void debug(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.arg10
- parameter to the message.public void debug(String message, Object... params)
message
- the message to logparams
- parameters to the message.public void info(Object message)
message
- the object to logpublic void info(Object message, Throwable t)
message
- the object to logt
- exception to log.public void info(String message)
message
- the message to logpublic void info(String message, Throwable t)
message
- the message to logt
- exception to log.public void info(String message, Object arg1)
message
- the message to logarg1
- parameter to the message.public void info(String message, Object arg1, Object arg2)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.public void info(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10)
message
- the message to logarg1
- parameter to the message.arg2
- parameter to the message.arg3
- parameter to the message.arg4
- parameter to the message.arg5
- parameter to the message.arg6
- parameter to the message.arg7
- parameter to the message.arg8
- parameter to the message.arg9
- parameter to the message.arg10
- parameter to the message.public void info(String message, Object... params)
message
- the message to log.params
- parameters to the message.public void log(GenericBuilder builder)
builder
- builder with error messages, its placeholders and other params.public void log(GenericBuilder builder, boolean contextFlag)
builder
- builder with error messages, its placeholders and other params.contextFlag
- true if context should be ignored.Copyright © 2020. All rights reserved.