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:
-Dchronicle.logger.properties=${pathOfYourPropertiesFile}
The following system properties are supported to configure the behavior of this logger:
chronicle.logger.root.path
chronicle.logger.root.level
chronicle.logger.root.append
Constructor and Description |
---|
ChronicleLoggerFactory()
c-tor
|
Modifier and Type | Method and Description |
---|---|
org.slf4j.Logger |
getLogger(String name)
Return an appropriate
ChronicleLogger instance by name. |
public org.slf4j.Logger getLogger(String name)
ChronicleLogger
instance by name.getLogger
in interface org.slf4j.ILoggerFactory
Copyright © 2018. All rights reserved.