public class I18NLoggerProxy extends Object implements Serializable
| Constructor and Description |
|---|
I18NLoggerProxy(I18NMessageProvider messageProvider)
Creates a new logger which uses the given message provider to
map messages onto text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the debugging level.
|
void |
debug(Object category,
Throwable throwable)
Logs the given throwable under the given logging category at
the debugging level.
|
void |
debug(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the debugging level.
|
boolean |
equals(Object other) |
void |
error(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the error level.
|
void |
error(Object category,
Throwable throwable)
Logs the given throwable under the given logging category at
the error level.
|
void |
error(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the error level.
|
I18NMessageProvider |
getMessageProvider()
Returns the receiver's message provider.
|
int |
hashCode() |
void |
info(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the informational level.
|
void |
info(Object category,
Throwable throwable)
Logs the given throwable under the given logging category at
the informational level.
|
void |
info(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the informational level.
|
void |
trace(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the tracing level.
|
void |
trace(Object category,
Throwable throwable)
Logs the given throwable under the given logging category at
the tracing level.
|
void |
trace(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the tracing level.
|
void |
warn(Object category,
I18NMessage message,
Object... params)
Logs the given parameterized message under the given logging
category at the warning level.
|
void |
warn(Object category,
Throwable throwable)
Logs the given throwable under the given logging category at
the warning level.
|
void |
warn(Object category,
Throwable throwable,
I18NMessage message,
Object... params)
Logs the given parameterized message and throwable under the
given logging category at the warning level.
|
public I18NLoggerProxy(I18NMessageProvider messageProvider)
messageProvider - The message provider.public I18NMessageProvider getMessageProvider()
public void error(Object category, Throwable throwable)
category - The category.throwable - The throwable.public void error(Object category, Throwable throwable, I18NMessage message, Object... params)
category - The category.throwable - The throwable.message - The message.params - The message parameters.public void error(Object category, I18NMessage message, Object... params)
category - The category.message - The message.params - The message parameters.public void warn(Object category, Throwable throwable)
category - The category.throwable - The throwable.public void warn(Object category, Throwable throwable, I18NMessage message, Object... params)
category - The category.throwable - The throwable.message - The message.params - The message parameters.public void warn(Object category, I18NMessage message, Object... params)
category - The category.message - The message.params - The message parameters.public void info(Object category, Throwable throwable)
category - The category.throwable - The throwable.public void info(Object category, Throwable throwable, I18NMessage message, Object... params)
category - The category.throwable - The throwable.message - The message.params - The message parameters.public void info(Object category, I18NMessage message, Object... params)
category - The category.message - The message.params - The message parameters.public void debug(Object category, Throwable throwable)
category - The category.throwable - The throwable.public void debug(Object category, Throwable throwable, I18NMessage message, Object... params)
category - The category.throwable - The throwable.message - The message.params - The message parameters.public void debug(Object category, I18NMessage message, Object... params)
category - The category.message - The message.params - The message parameters.public void trace(Object category, Throwable throwable)
category - The category.throwable - The throwable.public void trace(Object category, Throwable throwable, I18NMessage message, Object... params)
category - The category.throwable - The throwable.message - The message.params - The message parameters.public void trace(Object category, I18NMessage message, Object... params)
category - The category.message - The message.params - The message parameters.Copyright © 2015. All Rights Reserved.