| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for Slim_Logger:
 Collaboration diagram for Slim_Logger:| Public Member Functions | |
| __construct ($directory, $level=4) | |
| Constructor. | |
| setDirectory ($directory) | |
| Set log directory. | |
| getDirectory () | |
| Get log directory. | |
| setLevel ($level) | |
| Set log level. | |
| getLevel () | |
| Get log level. | |
| debug ($data) | |
| Log debug data. | |
| info ($data) | |
| Log info data. | |
| warn ($data) | |
| Log warn data. | |
| error ($data) | |
| Log error data. | |
| fatal ($data) | |
| Log fatal data. | |
| getFile () | |
| Get absolute path to current daily log file. | |
| Protected Member Functions | |
| log ($data, $level) | |
| Log data to file. | |
| write ($data) | |
| Persist data to log. | |
| Protected Attributes | |
| $levels | |
| $directory | |
Definition at line 45 of file Logger.php.
| Slim_Logger::__construct | ( | $directory, | |
| $level = 4 | |||
| ) | 
Constructor.
| string | $directory | Absolute or relative path to log directory | 
| int | $level | The maximum log level reported by this Logger | 
Definition at line 68 of file Logger.php.
References $directory, setDirectory(), and setLevel().
 Here is the call graph for this function:
 Here is the call graph for this function:| Slim_Logger::debug | ( | $data | ) | 
Log debug data.
| mixed | $data | 
Definition at line 123 of file Logger.php.
References log().
 Here is the call graph for this function:
 Here is the call graph for this function:| Slim_Logger::error | ( | $data | ) | 
Log error data.
| mixed | $data | 
Definition at line 150 of file Logger.php.
References log().
 Here is the call graph for this function:
 Here is the call graph for this function:| Slim_Logger::fatal | ( | $data | ) | 
Log fatal data.
| mixed | $data | 
Definition at line 159 of file Logger.php.
References log().
 Here is the call graph for this function:
 Here is the call graph for this function:| Slim_Logger::getDirectory | ( | ) | 
Get log directory.
Definition at line 91 of file Logger.php.
References $directory.
Referenced by getFile(), and log().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::getFile | ( | ) | 
Get absolute path to current daily log file.
Definition at line 167 of file Logger.php.
References getDirectory().
Referenced by write().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::getLevel | ( | ) | 
Get log level.
Definition at line 114 of file Logger.php.
Referenced by log().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::info | ( | $data | ) | 
Log info data.
| mixed | $data | 
Definition at line 132 of file Logger.php.
References log().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Log data to file.
| mixed | $data | |
| int | $level | 
| RuntimeException | If log directory not found or not writable | 
Definition at line 178 of file Logger.php.
References getDirectory(), getLevel(), and write().
Referenced by debug(), error(), fatal(), info(), and warn().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::setDirectory | ( | $directory | ) | 
Set log directory.
| string | $directory | Absolute or relative path to log directory | 
Definition at line 78 of file Logger.php.
References $directory.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::setLevel | ( | $level | ) | 
Set log level.
| int | The maximum log level reported by this Logger | 
| InvalidArgumentException | If level specified is not 0, 1, 2, 3, 4 | 
Definition at line 101 of file Logger.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Slim_Logger::warn | ( | $data | ) | 
Log warn data.
| mixed | $data | 
Definition at line 141 of file Logger.php.
References log().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Persist data to log.
| string | Log message | 
Definition at line 196 of file Logger.php.
References getFile().
Referenced by log().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 61 of file Logger.php.
Referenced by __construct(), getDirectory(), and setDirectory().
| 
 | protected | 
Definition at line 50 of file Logger.php.