Unit TextFile
Description
Text file unit(C) 2004-2007 George "Mirage" Bakhtadze. www.casteng.com
The source code may be used under either MPL 1.1 or LGPL 2.1 license. See included license.txt file
Unit contains some text file related utilities and logging class
Classes, Interfaces and Objects
Functions and Procedures
Overview
Description
Replaces logger with a new one of the specified class
function SetLength(S : string; DLength : word):string;
Types
Overview
Description
Class reference to log session class
Log level setting type
Enumerations
Constants
Overview
lkPrefix : array[TLogLevel] of string[7] = (' (D) ', ' (i) ', ' (I) ', '(WW) ', '(EE) ', '(!!) '); |
llMax : TLogLevels = [lkDebug, lkInfo, lkNotice, lkWarning, lkError, lkFatalError]; |
llMedium : TLogLevels = [lkNotice, lkWarning, lkError, lkFatalError]; |
llMin : TLogLevels = [lkError, lkFatalError]; |
Description
lkDebug = 0; lkInfo = 1; lkNotice = 2; lkWarning = 3; lkError = 4; lkFatalError = 5; lkTitle = lkNotice;
lfLogWarnings = 1 shl 11; lfLogErrors = 1 shl 12; LogFatalErrors = 1 shl 13;
Variables
Overview
Description
Current logger
|
Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com
|