Class: Moxiecode_Logger
Source Location: /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/utils/Logger.php
Class Moxiecode_Logger
Class Overview
|
Logging utility class. This class handles basic logging with levels, log rotation and custom log formats. It's designed to be compact but still powerful and flexible. Located in /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/utils/Logger.php [line 21] |
[ Top ]
Property Summary
| mixed | $_filename | |
| mixed | $_format | |
| mixed | $_level | |
| mixed | $_maxFiles | |
| mixed | $_maxSize | |
| mixed | $_maxSizeBytes | |
| mixed | $_path |
[ Top ]
Method Summary
| Moxiecode_Logger | Moxiecode_Logger() | Constructs a new logger instance. |
| void | debug() | |
| void | error() | |
| void | fatal() | |
| void | getFileName() | |
| void | getFormat() | |
| int | getLevel() | Returns the current log level for example MC_LOGGER_DEBUG. |
| void | getMaxFiles() | |
| void | getMaxSize() | |
| void | getPath() | |
| void | info() | |
| void | isDebugEnabled() | |
| void | isErrorEnabled() | |
| void | isFatalEnabled() | |
| void | isInfoEnabled() | |
| void | isWarnEnabled() | |
| void | setFileName() | |
| void | setFormat() | |
| void | setLevel() | Sets the current log level, use the MC_LOGGER constants. |
| void | setMaxFiles() | |
| void | setMaxSize() | |
| void | setPath() | |
| void | toOSPath() | Converts a Unix path to OS specific path. |
| void | warn() | |
| void | _logMsg() |
[ Top ]
Properties
Methods
Constructor Moxiecode_Logger [line 34]
|
Constructs a new logger instance.
[ Top ]
getLevel [line 85]
|
Returns the current log level for example MC_LOGGER_DEBUG.
API Tags:
| Return: | Current log level for example MC_LOGGER_DEBUG. |
[ Top ]
setLevel [line 48]
|
Sets the current log level, use the MC_LOGGER constants.
Parameters:| int | $level: | Log level instance for example MC_LOGGER_DEBUG. |
[ Top ]
toOSPath [line 263]
|
Converts a Unix path to OS specific path.
Parameters:| String | $path: | Unix path to convert. |
[ Top ]
