PHP Classes

Classes of Junai Hassan

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Junai Hassan (1)  >  Mission progress status  >  Reputation  
Picture of Junai Hassan
Name: Junai Hassan <contact>
Classes: 1
Country: Saudi Arabia Saudi Arabia
Age: ???
All time rank: 296813 in Saudi Arabia Saudi Arabia
Week rank: 262 Up3 in Saudi Arabia Saudi Arabia Up
All time users: 641
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Log File Database  
Log messages to files or to a MySQL database
This class can log messages to files or to a MySQL database.

It can add to the log messages with different warning levels: error, warning, debug and information. Messages below a given warning level may be ignored.

The messages can be appended to a log file or stored in MySQL database table.

The log file name, message prefix, database connection details and the database table name are configurable parameters.

The class can retry writing to a log file a given number of times after a period if it fails for instance if the file is temporarily locked.
Not enough user ratings


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z