Predefined Constants

- « Resource Types

- Examples »

- PHP Manual
- Seaslog
- Predefined Constants

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`SEASLOG_VERSION` (string)
`SEASLOG_AUTHOR` (string)
`SEASLOG_ALL` (string)
  "ALL"
`SEASLOG_DEBUG` (string)
  "DEBUG" - Detailed debug information.Fine-grained information events.
`SEASLOG_INFO` (string)
  "INFO" - Interesting events.Emphasizes the running process of the application.
`SEASLOG_NOTICE` (string)
  "NOTICE" - Normal but significant events.Information that is more important than the INFO level during execution.
`SEASLOG_WARNING` (string)
  "WARNING" - Exceptional occurrences that are not errors.Potentially aberrant information that needs attention and needs to be repaired.
`SEASLOG_ERROR` (string)
  "ERROR" - Runtime errors that do not require immediate action but should typically.
`SEASLOG_CRITICAL` (string)
  "CRITICAL" - Critical conditions.Need to be repaired immediately, and the program component is unavailable.
`SEASLOG_ALERT` (string)
  "ALERT" - Action must be taken immediately.Immediate attention should be given to relevant personnel for emergency repairs.
`SEASLOG_EMERGENCY` (string)
  "EMERGENCY" - System is unusable.
`SEASLOG_DETAIL_ORDER_ASC` (int)
  1
`SEASLOG_DETAIL_ORDER_DESC` (int)
  2
`SEASLOG_APPENDER_FILE` (int)
  1
`SEASLOG_APPENDER_TCP` (int)
  2
`SEASLOG_APPENDER_UDP` (int)
  3
`SEASLOG_CLOSE_LOGGER_STREAM_MOD_ALL` (int)
  1
`SEASLOG_CLOSE_LOGGER_STREAM_MOD_ASSIGN` (int)
  2
`SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT` (int)
  1
`SEASLOG_REQUEST_VARIABLE_REQUEST_URI` (int)
  2
`SEASLOG_REQUEST_VARIABLE_REQUEST_METHOD` (int)
  3
`SEASLOG_REQUEST_VARIABLE_CLIENT_IP` (int)
  4