Skip to content

danieleteti/loggerpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoggerPro for Delphi

LoggerPro Logo

The Modern, Async, Pluggable Logging Framework for Delphi

License Delphi Documentation


Why Developers Love LoggerPro

LoggerPro is the most complete and battle-tested logging framework for Delphi. Used in thousands of production applications worldwide, it provides everything you need for professional-grade logging.

Key Features

  • Async by Design - Non-blocking logging with zero impact on application performance
  • 20+ Built-in Appenders - File, Console, HTTP, Syslog, ElasticSearch, Database, Email, and many more
  • Cross-Platform - Windows, Linux, macOS, Android, iOS - write once, log everywhere
  • Thread-Safe - Built from the ground up for multi-threaded applications
  • Fluent Builder API - Clean, readable, Serilog-style configuration
  • Structured Logging - First-class support for key-value context in log messages
  • Production Ready - Stable, maintained, and continuously improved since 2010

Quick Taste

uses
  LoggerPro.GlobalLogger;

begin
  Log.Info('Application started');
  Log.Debug('Processing item %d', [42], 'WORKER');
  Log.Error('Connection failed', 'DATABASE');
end.

One line of uses, and you're logging to rotating files. It's that simple.

Builder API (v2.0)

Log := LoggerProBuilder
  .WithDefaultTag('MYAPP')
  .WriteToFile
    .WithLogsFolder('logs')
    .Done
  .WriteToConsole.Done
  .WriteToHTTP
    .WithURL('https://logs.example.com/api')
    .Done
  .Build;

Structured Context Logging

Log.Info('Order completed', 'ORDERS', [
  LogParam.I('order_id', 12345),
  LogParam.S('customer', 'John Doe'),
  LogParam.F('total', 299.99)
]);

Full Documentation

For complete documentation, tutorials, advanced examples, and best practices:


Installation

Manual

Add the LoggerPro source folder to your Delphi Library Path.

Delphinus

Search for "LoggerPro" in the Delphinus package manager.


Supported Platforms

Platform Status
Windows (32/64-bit) Full Support
Linux Full Support
macOS Full Support
Android Full Support
iOS Full Support

Delphi Versions: 13 Florence, 12 Athens, 11 Alexandria, 10.4 Sydney, 10.3 Rio, 10.2 Tokyo, 10.1 Berlin, 10 Seattle


Sample Projects

The samples/ folder contains 25+ working examples covering every appender and use case. The best way to learn LoggerPro is by exploring these samples.


License

Apache License 2.0 - Use it freely in personal and commercial projects.


Author

Daniele Teti


LoggerPro - Professional Logging for Professional Delphi Developers