LoggerPro (1.0)

A simple, pluggable and modern logging framework for Delphi

Unit LoggerPro.FileAppender

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Uses

  • LoggerPro
  • System.Classes
  • System.SysUtils
  • System.Generics.Collections

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TLoggerProFileAppender The default file appender

Types

TFileAppenderOption = (...);
TFileAppenderOptions = set of TFileAppenderOption;

Description

Types

TFileAppenderOption = (...);

Logs to file using one different file for each different TAG used.

Implements log rotations. This appender is the default appender when no configuration is done on the TLogger class.

Without any configuration LoggerPro uses the TLoggerProFileAppender with the default configuration.

So the following two blocks of code are equivalent:

    ...
    TLogger.Initialize; //=> uses the TLoggerProFileAppender because no other configuration is provided
    ...

    ...
    TLogger.AddAppender(TLoggerProFileAppender.Create);
    TLogger.Initialize //=> uses the TLoggerProFileAppender as configured
    ...
    

Values
  • IncludePID:  
TFileAppenderOptions = set of TFileAppenderOption;
 
Copyright 2016 Daniele Teti
Generated by PasDoc 0.14.0.