Class TFileLogRoute
TFileLogRoute class.
TFileLogRoute records log messages in files. The log files are stored under setLogPath LogPath and the file name is specified by setLogFile LogFile. If the size of the log file is greater than setMaxFileSize MaxFileSize (in kilo-bytes), a rotation is performed, which renames the current log file by suffixing the file name with '.1'. All existing log files are moved backwards one place, i.e., '.2' to '.3', '.1' to '.2'. The property setMaxLogFiles MaxLogFiles specifies how many files to be kept.
- TComponent
-
TApplicationComponent
-
TLogRoute
-
TFileLogRoute
Package: System\Util
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Util/TLogRouter.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Util/TLogRouter.php
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
protected
|
|
protected
|
collectLogs(),
formatLogMessage(),
getCategories(),
getLevelName(),
getLevelValue(),
getLevels(),
init(),
setCategories(),
setLevels()
|
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
GLOBAL_RAISE_EVENT_LISTENER
|
$_levelNames,
$_levelValues
|