Sign in Join

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

Catalog · How the catalog works

Random project

log4d

Logging facility for Delphi

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

Logging facility for Delphi

Log4D is a port of the well known log4j logging framework to Delphi. As the original project (https://log4d.svn.sourceforge.net/svnroot/log4d/trunkk seems not to be maintained actively, I decided to fork a branch with valuable improvements.

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>