LoggerPro (1.0)

A simple, pluggable and modern logging framework for Delphi

Unit LoggerPro.GlobalLogger

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Contains the global logger as a thread safe singleton

Use the global logger for fast&dirty logging, but consider to use your own instance of ILogWriter (created using BuildLogWriter) for all your serious logging needs.

Uses

Overview

Functions and Procedures

function Log: ILogWriter;
procedure ReleaseGlobalLogger;

Description

Functions and Procedures

function Log: ILogWriter;

The global logger. Just uses Logger.GlobalLogger and you can start to log using Log function.

The global logger is configured with a TLoggerProFileAppender using default settings.

procedure ReleaseGlobalLogger;

Use only inside DLL because dll unloading is not a safe place to shutdown threads, so call this before unload DLL

Use this also in ISAPI dll. Check the loggerproisapisample.dll sample

Author

Copyright 2016 Daniele Teti
Generated by PasDoc 0.14.0.