16.3. Log Levels
上一页 | 第 16 章 Zend_Log | 下一页

## 16.3. Log Levels

`Zend_Log::log()` will log all messages as `LEVEL_DEBUG` unless a different level is supplied as the optional second argument. The following levels are available as constants of the `Zend_Log` class.

    LEVEL_DEBUG     = 1
    LEVEL_WARNING   = 4
    LEVEL_ERROR     = 8
    LEVEL_SEVERE    = 16

上一页 | 上一级 | 下一页
16.2. Logging to a Single Log | 起始页 | 16.4. Advanced Logging: Multiple Loggers