public class ChronicleLoggerFactory extends Object implements org.slf4j.ILoggerFactory
Simple implementation of Logger that sends all enabled slf4j messages, for all defined loggers, to one or more VanillaChronicle..
To configure this sl4j binding you need to specify the location of a properties files via system properties:-Dslf4j.chronicle.properties=${pathOfYourPropertiesFile}
The following system properties are supported to configure the behavior of this
logger:
slf4j.chronicle.path
slf4j.chronicle.level
slf4j.chronicle.shortName
slf4j.chronicle.append
slf4j.chronicle.format
slf4j.chronicle.type
| Constructor and Description |
|---|
ChronicleLoggerFactory()
c-tor
|
ChronicleLoggerFactory(ChronicleLoggingConfig cfg)
c-tor
|
public ChronicleLoggerFactory()
public ChronicleLoggerFactory(ChronicleLoggingConfig cfg)
public org.slf4j.Logger getLogger(String name)
ChronicleLogger instance by name.
getLogger in interface org.slf4j.ILoggerFactorypublic void warmup()
public void shutdown()
public void relaod()
Copyright © 2014. All rights reserved.