4 thoughts on “Loggable v. 1.0 released!

  1. Why use annotation? I think is preferable to have logger configured in log4j configuration file (so I'll be able to change configuration at runtime), or am I missing something?

    • Well, you HAVE to configure log4j through its own configuration file, otherwise the whole infrastructure will not work. This "Loggable" meta-library reduce development time, because you have to write less code to call the log4j Logger class in your application.

      In addition, the annotation permits to do some runtime adjustement, such as disabling logging for a whole class, change log level, etc. But you can still use the common log4j approach. It's all up to you!

Lascia un commento

Il tuo indirizzo email non sarĂ  pubblicato. I campi obbligatori sono contrassegnati *