24 $logLevel = $config->
getString(
'level',
'notice');
25 $this->logger =
array(
'SimpleSAML\Logger', $logLevel);
26 if (!is_callable($this->logger)) {
27 throw new Exception(
'Invalid log level: ' . var_export($logLevel, TRUE));
38 $str_data = json_encode($data);
39 call_user_func($this->logger,
'EVENT ' . $str_data);
emit(array $data)
Write a stats event.
Create styles array
The data for the language used.
getString($name, $default=self::REQUIRED_OPTION)
This function retrieves a string configuration option.
__construct(SimpleSAML_Configuration $config)
Initialize the output.