public interface ILocalizedLogger
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String messageKey,
Object... args)
Logs localized message with DEBUG level.
|
void |
debug(String messageKey,
Throwable throwable,
Object... args)
Logs localized message with DEBUG level.
|
void |
error(String messageKey,
Object... args)
Logs localized message with ERROR level.
|
void |
fatal(String messageKey,
Throwable throwable,
Object... args)
Logs localized message with FATAL level.
|
ILoggerConfiguration |
getConfiguration()
Gets logger configuration.
|
void |
info(String messageKey,
Object... args)
Logs localized message with INFO level.
|
void |
infoElementAction(String elementType,
String elementName,
String messageKey,
Object... args)
Logs localized message for action with INFO level which is applied for element, for example, click, send keys etc.
|
void |
warn(String messageKey,
Object... args)
Logs localized message with WARN level.
|
ILoggerConfiguration getConfiguration()
void infoElementAction(String elementType, String elementName, String messageKey, Object... args)
elementType - Type of the element.elementName - Name of the element.messageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.void info(String messageKey, Object... args)
messageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.void debug(String messageKey, Object... args)
messageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.void debug(String messageKey, Throwable throwable, Object... args)
messageKey - Key in resource file.throwable - Throwable to log.args - Arguments, which will be provided to template of localized message.void warn(String messageKey, Object... args)
messageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.void error(String messageKey, Object... args)
messageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.Copyright © 2020. All rights reserved.