Skip to content

Extremely simple Java logger class for output and debugging with proxy support.

License

Notifications You must be signed in to change notification settings

ZeroBone/JLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JLogger

Simple and extremely lightweight JAVA logger class for output and debugging with proxy support.

It is intended to be used for quick outputting of different kinds of data in runtime via Logger.log(String|StringBuffer|int|long) instead of writing System.out.println(); or System.err.println().

The class provides also simple error outputting through Throwable.printStackTrace() method (Logger.error(Throwable|String|StringBuilder)).

Proxy feature

Sometimes there is a chain of methods either in some method call arguments or simply modifing for example, some string. Sometimes, outputting of some state inside this chain is required without breaking the inline code and creating extra variables. That is where Logger.proxy(String|StringBuilder|int|long) comes to the rescue. The method, apart from logging out the data, will return it's argument. Multiple arguments in proxy are currently not supported.

Customize

This project is just for jumpstaring new java projects without having to re-implement the same logging. Only the very basical features are included. Not it is your turn. Customize the class to fit your project's needs.

About

Extremely simple Java logger class for output and debugging with proxy support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages