16.3. Log Levels
Prev | Chapter 16. Zend_Log | Next

## 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

Prev | Up | Next
16.2. Logging to a Single Log | Home | 16.4. Advanced Logging: Multiple Loggers