Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
samples
src
.gitignore
LICENSE
README.md
license.txt

README.md

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]);
You can’t perform that action at this time.