Package | Description |
---|---|
org.tinylog |
Public logging API for tinylog 2.
|
org.tinylog.provider |
API for logging framework implementations.
|
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|---|
Level |
LoggingProvider.getMinimumLevel()
Gets the lowest activated severity level for all tags.
|
Level |
BundleLoggingProvider.getMinimumLevel() |
Level |
NopLoggingProvider.getMinimumLevel() |
Level |
LoggingProvider.getMinimumLevel(String tag)
Gets the lowest activated severity level for a tag.
|
Level |
BundleLoggingProvider.getMinimumLevel(String tag) |
Level |
NopLoggingProvider.getMinimumLevel(String tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
LoggingProvider.isEnabled(int depth,
String tag,
Level level)
Checks whether log entries with given tag and severity level will be output.
|
boolean |
BundleLoggingProvider.isEnabled(int depth,
String tag,
Level level) |
boolean |
NopLoggingProvider.isEnabled(int depth,
String tag,
Level level) |
boolean |
LoggingProvider.isEnabled(String loggerClassName,
String tag,
Level level)
Checks whether log entries, issued by the caller of the given logger class, with given tag and severity level will be output.
|
boolean |
BundleLoggingProvider.isEnabled(String loggerClassName,
String tag,
Level level) |
boolean |
NopLoggingProvider.isEnabled(String loggerClassName,
String tag,
Level level) |
void |
LoggingProvider.log(int depth,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments)
Provides a regular log entry.
|
void |
BundleLoggingProvider.log(int depth,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments) |
void |
NopLoggingProvider.log(int depth,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments) |
static void |
InternalLogger.log(Level level,
String message)
Logs a plain text message.
|
static void |
InternalLogger.log(Level level,
Throwable exception)
Logs a caught exception.
|
static void |
InternalLogger.log(Level level,
Throwable exception,
String message)
Logs a caught exception with a custom text message.
|
void |
LoggingProvider.log(String loggerClassName,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments)
Provides a regular log entry.
|
void |
BundleLoggingProvider.log(String loggerClassName,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments) |
void |
NopLoggingProvider.log(String loggerClassName,
String tag,
Level level,
Throwable exception,
MessageFormatter formatter,
Object obj,
Object... arguments) |
Copyright © 2024. All rights reserved.