Package | Description |
---|---|
org.pmw.tinylog |
tinylog classes
|
org.pmw.tinylog.writers |
Writers for outputting log entries
|
Modifier and Type | Method | Description |
---|---|---|
List<Writer> |
Configuration.getWriters() |
Get the writers to output created log entries.
|
Modifier and Type | Method | Description |
---|---|---|
Configurator |
Configurator.addWriter(Writer writer) |
Add an additional writer for outputting the created log entries.
|
Configurator |
Configurator.addWriter(Writer writer,
String formatPattern) |
Add an additional writer for outputting the created log entries.
|
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.
|
Configurator |
Configurator.removeWriter(Writer writer) |
Remove a writer.
|
Configurator |
Configurator.writer(Writer writer) |
Set a writer to output created log entries.
|
Configurator |
Configurator.writer(Writer writer,
String formatPattern) |
Set a writer to output created log entries.
|
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ConsoleWriter |
Writes log entries to the console.
|
class |
FileWriter |
Writes log entries to a file.
|
class |
JdbcWriter |
Writes log entries to a SQL database.
|
class |
LogcatWriter |
Writes log entries via Android's logcat.
|
class |
RollingFileWriter |
Writes log entries to a file like
FileWriter but keeps backups of old
logging files. |
class |
SharedFileWriter |
Writes log entries to a shared file.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
VMShutdownHook.register(Writer writer) |
Register a writer, which should be shutdown automatically when VM will be shutdown.
|
static void |
VMShutdownHook.unregister(Writer writer) |
Remove a writer from the shutdown list.
|
Copyright © 2019. All rights reserved.