flogging 0.4.0

This is a fast, flexible logging crate, loosely based on the Java logging package: java.util.logging.
Documentation

FLogging crate

Flogging provides an easy framework for logging.

Log entries can be sent to the console, file, memory log, or a custom handler. They can be formatted in various layouts: ISO8601, Simple, Unix TimeStamp, or a custom layout.

Macros and public functions are provided, with the macros being the simplest method of operation.

There are several levels for logging at:

  • SEVERE,
  • WARNING,
  • INFO,
  • CONFIG,
  • FINE,
  • FINER, and
  • FINEST

There are even two special settings:

  • ALL, and
  • OFF

Acknowledgement

This project was developed as a learning experience. I am fully aware that there are many other logging crates out there, but where is the fun in that? As a hobbyist it seemed like a good idea at the time.

A lot of the functionality has been inspired by, and even copied from (at the API level), the JDK's java.util.logging package. Whether or not it will ever become a full port, only time and my level of interest, will tell. Remember, "learning experience"?

What's in a name?

Flogging, as-in, "Flogging a dead horse", or "Just another f*ing logger". As I wrote above, there are many other logging crates around. This is just my learning spin on a very well covered tool.

Final word

Having said all that, with jokes aside, this is a fully working project. One that I hope others will benefit from. If not just using it, then perhaps learning from the source code, the various solutions to the problems involved in providing the functionality.

Anyway, have fun.
Bradley Willcott
mailto:bw.opensource@yahoo.com