| Package | Description |
|---|---|
| com.reposilite.journalist | |
| com.reposilite.journalist.backend |
| Modifier and Type | Method and Description |
|---|---|
default Logger |
Logger.debug(Object message,
Object... arguments)
Log the given message to
Channel.DEBUG |
default Logger |
Logger.error(Object message,
Object... arguments)
Log the given message to
Channel.ERROR channel |
Logger |
Logger.exception(Channel channel,
Throwable throwable)
Log the given exception to the given channel
|
default Logger |
Logger.exception(Throwable throwable)
Log the given exception to the
Channel.ERROR channel |
default Logger |
Logger.fatal(Object message,
Object... arguments)
Log the given message to
Channel.FATAL channel |
Logger |
Journalist.getLogger()
Get stored logger
|
default Logger |
Logger.info(Object message,
Object... arguments)
Log the given message to
Channel.INFO |
Logger |
Logger.log(Channel channel,
Object message,
Object... arguments)
Log the given message to the provided channel
|
Logger |
Logger.setThreshold(Channel threshold)
Modify current threshold
|
default Logger |
Logger.trace(Object message,
Object... arguments)
Log the given message to
Channel.TRACE |
default Logger |
Logger.warn(Object message,
Object... arguments)
Log the given message to
Channel.WARN |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregatedLogger
Use various logger implementations at the same time.
|
class |
CachedLogger
Stores all messages in memory as a queue with limit and does not print any message directly.
|
class |
DefaultLogger
Abstract implementation of basic functionalities meant to be extended by a target implementation.
|
class |
InMemoryLogger
Stores all messages in memory as a queue and does not print any message directly.
|
class |
MultichannelCachedLogger
Stores all messages in memory as a queue with limit of messages per channel and does not print any message directly.
|
class |
PrintStreamLogger
Uses
System.in and System.err to log messages |
| Modifier and Type | Method and Description |
|---|---|
Logger |
DefaultLogger.exception(Channel channel,
Throwable throwable) |
Logger |
DefaultLogger.getLogger() |
Logger |
DefaultLogger.log(Channel channel,
Object message,
Object... arguments) |
Logger |
DefaultLogger.setThreshold(Channel threshold) |
| Constructor and Description |
|---|
AggregatedLogger(Logger... loggers) |
| Constructor and Description |
|---|
AggregatedLogger(Channel threshold,
Collection<? extends Logger> loggers) |
Copyright © 2021. All rights reserved.