public class JavaLoggingAdapter extends BaseJulLogger implements Logger
Logger SPI.| Constructor and Description |
|---|
JavaLoggingAdapter(String loggerName,
String fileNamePattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String format,
Object... arguments)
Log a message at the DEBUG level according to the specified format
and arguments.
|
void |
debug(String msg,
Throwable e)
Log an exception (throwable) at the DEBUG level with an
accompanying message.
|
void |
error(String format,
Object... arguments)
Log a message at the ERROR level according to the specified format
and arguments.
|
void |
error(String msg,
Throwable e)
Log an exception (throwable) at the ERROR level with an
accompanying message.
|
String |
getFileNamePattern() |
String |
getLoggerName() |
void |
info(String format,
Object... arguments)
Log a message at the INFO level according to the specified format
and arguments.
|
void |
info(String msg,
Throwable e)
Log an exception (throwable) at the INFO level with an
accompanying message.
|
void |
trace(String format,
Object... arguments)
Log a message at the TRACE level according to the specified format
and arguments.
|
void |
trace(String msg,
Throwable e)
Log an exception (throwable) at the TRACE level with an
accompanying message.
|
void |
warn(String format,
Object... arguments)
Log a message at the WARN level according to the specified format
and arguments.
|
void |
warn(String msg,
Throwable e)
Log an exception (throwable) at the WARN level with an
accompanying message.
|
log, log, makeLoggingHandlerpublic void info(String format, Object... arguments)
Loggerpublic void info(String msg, Throwable e)
Loggerpublic void warn(String format, Object... arguments)
Loggerpublic void warn(String msg, Throwable e)
Loggerpublic void trace(String format, Object... arguments)
Loggerpublic void trace(String msg, Throwable e)
Loggerpublic void debug(String format, Object... arguments)
Loggerpublic void debug(String msg, Throwable e)
Loggerpublic void error(String format, Object... arguments)
Loggerpublic void error(String msg, Throwable e)
Loggerpublic String getLoggerName()
public String getFileNamePattern()
Copyright © 2021 Alibaba Group. All rights reserved.