Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 997 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 997 Bytes

Log4d-for-Delphi

This project contains files from the Log4D project with fixes to support newer Delphi versions and Free Pascal.

Log4D is a port of the well known log4j logging framework. You can find the original Log4D project at http://sourceforge.net/projects/log4d/

Other Log4d sources

https://github.com/stanleyxu2005/log4d

https://github.com/michaelJustin/log4d

Additional

https://github.com/michaelJustin/slf4p

A simple logging facade for Object Pascal (Delphi and FPC)

What's New

Parameterized Logging

It supports now an advanced feature called 'parameterized logging', which can significantly boost logging performance for disabled logging statement. If the current log level is lower than the global log level, log message will not be concatenated.

  • Using original Log4D: LOG.Debug(Format('Invalid value %s' [Value]));
  • Now: LOG.Debug('Invalid value %s', [Value]);