|
|
| $_type = PEAR_LOG_TYPE_SYSTEM |
| |
|
| $_destination = '' |
| |
|
| $_extra_headers = '' |
| |
|
| $_lineFormat = '%2$s: %4$s' |
| |
|
| $_timeFormat = '%b %d %H:%M:%S' |
| |
|
| $_opened = false |
| |
|
| $_id = 0 |
| |
|
| $_ident = '' |
| |
|
| $_priority = PEAR_LOG_INFO |
| |
|
| $_mask = PEAR_LOG_ALL |
| |
|
| $_listeners = array() |
| |
|
| $_backtrace_depth = 0 |
| |
| | $_formatMap |
| |
|
| static | factory ($handler, $name= '', $ident= '', $conf=array(), $level=PEAR_LOG_DEBUG) |
| |
| static | singleton ($handler, $name= '', $ident= '', $conf=array(), $level=PEAR_LOG_DEBUG) |
| |
| static | MASK ($priority) |
| |
| static | UPTO ($priority) |
| |
| static | MIN ($priority) |
| |
| static | MAX ($priority) |
| |
Closes the handler.
public
- Since
- Log 1.9.6
| log |
( |
|
$message, |
|
|
|
$priority = null |
|
) |
| |
Logs $message using PHP's error_log() function. The message is also passed along to any Log_observer instances that are observing this Log.
- Parameters
-
| mixed | $message | String or object containing the message to log. |
| string | $priority | The priority of the message. Valid values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. |
- Returns
- boolean True on success or false on failure. public
| Log_error_log |
( |
|
$name, |
|
|
|
$ident = '', |
|
|
|
$conf = array(), |
|
|
|
$level = PEAR_LOG_DEBUG |
|
) |
| |
Constructs a new Log_error_log object.
- Parameters
-
| string | $name | One of the PEAR_LOG_TYPE_* constants. |
| string | $ident | The identity string. |
| array | $conf | The configuration array. |
| int | $level | Log messages up to and including this level. public |
Opens the handler.
public
- Since
- Log 1.9.6
The documentation for this class was generated from the following file:
- /Users/alex/github/vcdeploy/lib/Log/error_log.php