PHP Classes

PHP Error Log: Send messages to the PHP error log files or email

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 118 All time: 9,516 This week: 673Up
Version Licenses PHP version Categories
errorlog 1.0.0MIT/X Consortium ...5HTTP, Logging


This class can send messages to the PHP error log files or email.

It users the PHP error_log function to send given messages with details about the current request like server name, user IP address and port, user browser, etc..

The log messages may be sent in text or HTML to either a given file or email address.

Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Age: ???
All time rank: 74621 in Poland Poland
Week rank: 111 Up3 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x


$logi = new error_logi($_SERVER);
$mesage='B??d log przypisujemy np. b??d pdo lub mysql
                    albo b??d logowania'
$user='Adam ';
## ustawiamy kiedy zapisujey logi uzytkownika ##
$logi->user_logi_email($mesage, $user, $html);
## ustawiamy kiedy zapisujey logi globalne ##
$logi->global_logi_email($mesage, $html);



  Files folder image Files  
File Role Description
Plain text file class-error-log.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation
Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,516
This week:673Up