Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2013-01-26 (3 years ago) ![]() | Not yet rated by the users | Total: 577 | All time: 5,079 This week: 1,043![]() |
Version | License | PHP version | Categories | |||
easy_logger 2.0 | Custom (specified... | 5.1 | PHP 5, Logging |
Description | Author | |||||||||||||
This class can be used to log events to files or other destinations. |
|
EasyLogger is a simple, but still extensible PHP logger, which provides interface for implementing various logging storage strategies, through its handlers API. Stream-based log handler implementation is bundled. AUTHOR ------ Nikola Posa <posa.nikola@gmail.com> FEATURES -------- - Extensible PHP logger - Provides option various logging storage strategies through its handlers API - Bundeled stream-based log handler VERSION INFORMATION ------------------- EasyLogger 2.0 INSTALLATION ------------ Copy library/EasyLogger folder, as well as library/EasyLogger.php file, in some of your project's folder, for example, in folder where you keep your libraries, and put it in the include path. USAGE ----- //Create logger instance: $logger = new EasyLogger(); //Register some handler with it: $logger->addHandler(new EasyLogger_Handler_StreamHandler('/path/to/some/file.log')); //At some point, log some event: $logger->log(EasyLogger::LEVEL_INFO, 'Hello world!'); //... or by using shortcut methods: $logger->info('Hello world again!'); SYSTEM REQUIREMENTS ------------------- PHP 5 >= 5.1.0 PHPUnit >= 3.4 LICENSE ------- The files in this archive are released under the New BSD License. You can find a copy of this license in LICENSE.txt. |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Lic. | License | ||
![]() ![]() |
Doc. | Readme file |
![]() |
/ | library | / | EasyLogger | / | Handler |
File | Role | Description |
---|---|---|
![]() ![]() |
Class | Log handler interface. |
![]() ![]() |
Class | Stream-based log handler |
![]() ![]() |
Class | Handler used only in unit tests |
![]() |
/ | tests |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Test | Tests bootstrap | ||
![]() ![]() |
Test | PHPUnit configuration |
![]() |
/ | tests | / | EasyLogger |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Test | Logger tests |
![]() |
/ | tests | / | EasyLogger | / | Handler |
File | Role | Description |
---|---|---|
![]() ![]() |
Test | Base handlers test case |
![]() ![]() |
Test | Stream handler tests |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.