lithium\analysis\logger\adapter\Syslog::__construct PHP Method

__construct() public method

Constructor. Configures the Syslog adapter instance with the default settings. For more information on these settings, see the documentation for tthe openlog() function.
public __construct ( array $config = [] ) : void
$config array Available configuration settings for this adapter: - `'identity'` _string_: The identity string to be attached to each message in the system log. This is usually a string that meaningfully identifies your application. Defaults to `false`. - `'options'` _integer_: The flags to use when opening the log. Defaults to `LOG_ODELAY`. - `'facility'` _integer_: A flag specifying the program to use to log the messages. See the `openlog()` documentation for more information. Defaults to `LOG_USER`.
return void
    public function __construct(array $config = array())
    {
        $defaults = array('identity' => false, 'options' => LOG_ODELAY, 'facility' => LOG_USER);
        parent::__construct($config + $defaults);
    }