Skip to content

appenders/appenders-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appenders (internal) Logging

This project provides a very simple implementation of "binding-less" logger.

Log4j2 StatusLogger is used by default, but any other logging implementation can be set instead.

Usage

InternalLogging.getLogger().info("Hello, World"); // Will use Log4j2 StatusLogger if Log4j2 jars are available 

or

InternalLogging.setLogger(new Logger() {
        @Override
        public void warn(String messageFormat, Object... parameters) {
            // Your logging implementation
        }
}; 

InternalLogging.getLogger().warn("Hello, World");

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages