[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>
Poids: | 209 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
LoggerAppenderDb:: (12 méthodes):
LoggerAppenderDb()
activateOptions()
append()
close()
getCreateTable()
getDsn()
getSql()
getTable()
setCreateTable()
setDsn()
setSql()
setTable()
Classe: LoggerAppenderDb - X-Ref
Appends log events to a db table using PEAR::DB class.LoggerAppenderDb($name) X-Ref |
Constructor. param: string $name appender name |
activateOptions() X-Ref |
Setup db connection. Based on defined options, this method connects to db defined in {@link $dsn} and creates a {@link $table} table if {@link $createTable} is true. return: boolean true if all ok. |
append($event) X-Ref |
Pas de description |
close() X-Ref |
Pas de description |
getCreateTable() X-Ref |
return: boolean |
getDsn() X-Ref |
return: string the defined dsn |
getSql() X-Ref |
return: string the sql pattern string |
getTable() X-Ref |
return: string the table name to create |
setCreateTable($flag) X-Ref |
Pas de description |
setDsn($newDsn) X-Ref |
Pas de description |
setSql($sql) X-Ref |
Pas de description |
setTable($table) X-Ref |
Pas de description |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |