Overview  Package  Tree cmsdAm 0.8

cmsdAm

Class cmsdam_logs

cmsdAm.cmsdam_logs

class cmsdam_logs

This class handles cmsdAm logging.

cmsdAm uses a log file for now, in future we'll use syslog logging, socket, database, ecc.

Class instance: $cms->logs

Author:
dAm2K (Dino Ciuffetti) <dam2k@users.sourceforge.net>

Field Summary
public var$conf

You should not use this variable from your section.

public var$http

You should not use this variable from your section.

public var$debug

You should not use this variable from your section.

Method Summary
public boollog_note

This method open a filedescriptor for writing on the log file and writes a row.

Field Detail

conf

public var $conf

You should not use this variable from your section.

Configuration class instance.


http

public var $http

You should not use this variable from your section.

HTTP class instance.


debug

public var $debug

You should not use this variable from your section.

Debug class instance.

Method Detail

log_note()

public bool log_note(int level,
                     str text)

This method open a filedescriptor for writing on the log file and writes a row.

You can use "$level" to define the log priority. The higher the number, the lower the priority.

Parameters:
level - The logging level
text - The line to log
Author:
dAm2K (Dino Ciuffetti) <dam2k@users.sourceforge.net>
Returns:
False on errors, True on success

Overview  Package  Tree cmsdAm 0.8