Skip to content

Extensions for java.util.logging.Logger including annotation based configuration.

Notifications You must be signed in to change notification settings

ai-republic/logging-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logging-java

Extensions for java.util.logging.Logger including annotation based configuration.

You can simply configure the Logger like this:

@Inject
@LoggerConfig(level=LogLevel.INFO)
private Logger logger;

or for a more complex configuration:

@Inject
@LoggerConfig(level=LogLevel.INFO, handler=java.util.logging.ConsoleHandler.class, filter=MyFilter.class, resource=@Resource(baseName="myresourcebundlename", locale="de-DE"))
private Logger logger;

About

Extensions for java.util.logging.Logger including annotation based configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages