I wrote a one-class logger, lightweight and very easy to use. It can be a good alternative to Log4j for small projects or if you want to customize you logging experience.
- It’s a self-contained one-class logger
- No third party dependencies required
- Fully customizable
- It works with jar packages
- Different levels of logging
- Logs on stdout or file
- Easy to use…very easy
How to use
- Copy the
OneClassLogger.javafile in your Java source folder
- Create a
Main.javafor some examples (optional)
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.