Package | Description |
---|---|
org.pmw.tinylog |
tinylog classes
|
Modifier and Type | Method | Description |
---|---|---|
Level |
Configuration.getLevel() |
Get the global severity level.
|
Level |
Configuration.getLevel(String packageOrClass) |
Get the severity level for a package or class.
|
Level |
LogEntry.getLevel() |
Get the severity level.
|
static Level |
Logger.getLevel() |
Get the current global severity level.
|
static Level |
Logger.getLevel(Class<?> classObject) |
Get the current severity level for a specific class.
|
static Level |
Logger.getLevel(Package packageObject) |
Get the current severity level for a specific package.
|
static Level |
Logger.getLevel(String packageOrClass) |
Get the current severity level for a specific package or class.
|
static Level |
Level.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Level[] |
Level.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
Configurator |
Configurator.addWriter(Writer writer,
Level level) |
Add an additional writer for outputting the created log entries.
|
Configurator |
Configurator.addWriter(Writer writer,
Level level,
String formatPattern) |
Add an additional writer for outputting the created log entries.
|
static void |
LogEntryForwarder.forward(int depthOfStackTrace,
Level level,
Object obj) |
Forward a logging message.
|
static void |
LogEntryForwarder.forward(int depthOfStackTrace,
Level level,
String message,
Object... arguments) |
Forward a logging message.
|
static void |
LogEntryForwarder.forward(int depthOfStackTrace,
Level level,
Throwable exception,
String message,
Object... arguments) |
Forward a logging message.
|
static void |
LogEntryForwarder.forward(StackTraceElement stackTraceElement,
Level level,
Object obj) |
Forward a logging message.
|
static void |
LogEntryForwarder.forward(StackTraceElement stackTraceElement,
Level level,
String message,
Object... arguments) |
Forward a logging message.
|
static void |
LogEntryForwarder.forward(StackTraceElement stackTraceElement,
Level level,
Throwable exception,
String message,
Object... arguments) |
Forward a logging message.
|
Configurator |
Configurator.level(Class<?> classObject,
Level level) |
Set a custom severity level for a class.
|
Configurator |
Configurator.level(Package packageObject,
Level level) |
Set a custom severity level for a package.
|
Configurator |
Configurator.level(String packageOrClass,
Level level) |
Set a custom severity level for a package or class.
|
Configurator |
Configurator.level(Level level) |
Change the severity level.
|
Configurator |
Configurator.writer(Writer writer,
Level level) |
Set a writer to output created log entries.
|
Configurator |
Configurator.writer(Writer writer,
Level level,
String formatPattern) |
Set a writer to output created log entries.
|
Constructor | Description |
---|---|
LegacyLogEntry(Date date,
String processId,
Thread thread,
Map<String,String> context,
String className,
String methodName,
String filename,
int lineNumber,
Level level,
String message,
Throwable exception) |
|
LogEntry(String processId,
Thread thread,
Map<String,String> context,
String className,
String methodName,
String filename,
int lineNumber,
Level level,
String message,
Throwable exception) |
|
PreciseLogEntry(Instant instant,
String processId,
Thread thread,
Map<String,String> context,
String className,
String methodName,
String filename,
int lineNumber,
Level level,
String message,
Throwable exception) |
|
UndatedLogEntry(String processId,
Thread thread,
Map<String,String> context,
String className,
String methodName,
String filename,
int lineNumber,
Level level,
String message,
Throwable exception) |
Copyright © 2019. All rights reserved.