public function Logger::__construct in Module Object Oriented Programming API 6.2
Same name in this branch
- 6.2 component/decorator/moopapi.logger.inc \Logger::__construct()
- 6.2 component/decorator/logger/moopapi.logger.inc \Logger::__construct()
Same name and namespace in other branches
- 6 component/decorator/moopapi.logger.inc \Logger::__construct()
- 6 component/decorator/logger/moopapi.logger.inc \Logger::__construct()
- 7.2 component/decorator/logger/moopapi.logger.inc \Logger::__construct()
- 7 component/decorator/logger/moopapi.logger.inc \Logger::__construct()
Parameters
IApplication $app:
Overrides Decorator::__construct
File
- component/
decorator/ logger/ moopapi.logger.inc, line 24
Class
- Logger
- Logger.
Code
public function __construct($decorators_applied = array(), &$relations = array(), $app) {
parent::__construct($decorators_applied, $relations, $app);
$this
->setLevel(variable_get('botcha_logger_level', self::LOGGER_DISABLED));
$this
->setDestination(variable_get('botcha_logger_destination', LOGGER_DESTINATION));
$this
->setDateFormat(variable_get('botcha_logger_date_format', self::LOGGER_DATE_FORMAT));
}