Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Log4d-for-Delphi

. Delphi FPC Implementation of logging system for Delphi, based on Log4j.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

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: <code>LOG.Debug(Format('Invalid value %s' [Value]));</code>
  • Now: <code>LOG.Debug('Invalid value %s', [Value]);</code>