public class ClientLogger extends Object
| Constructor and Description |
|---|
ClientLogger(Class<?> clazz) |
ClientLogger(String className) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLogAtLevel(LogLevel logLevel) |
void |
error(String message) |
void |
error(String format,
Object... args) |
void |
info(String message) |
void |
info(String format,
Object... args) |
RuntimeException |
logExceptionAsError(RuntimeException runtimeException) |
RuntimeException |
logExceptionAsWarning(RuntimeException runtimeException) |
<T extends Throwable> |
logThrowableAsError(T throwable) |
<T extends Throwable> |
logThrowableAsWarning(T throwable) |
void |
verbose(String message) |
void |
verbose(String format,
Object... args) |
void |
warning(String message) |
void |
warning(String format,
Object... args) |
public ClientLogger(Class<?> clazz)
public ClientLogger(String className)
public void verbose(String message)
public void info(String message)
public void warning(String message)
public void error(String message)
public RuntimeException logExceptionAsWarning(RuntimeException runtimeException)
public <T extends Throwable> T logThrowableAsWarning(T throwable)
public RuntimeException logExceptionAsError(RuntimeException runtimeException)
public <T extends Throwable> T logThrowableAsError(T throwable)
public boolean canLogAtLevel(LogLevel logLevel)
Copyright © 2022. All rights reserved.