public function Logger::log in Module Object Oriented Programming API 6
Same name in this branch
- 6 component/decorator/moopapi.logger.inc \Logger::log()
- 6 component/decorator/logger/moopapi.logger.inc \Logger::log()
Same name and namespace in other branches
- 6.2 component/decorator/moopapi.logger.inc \Logger::log()
- 6.2 component/decorator/logger/moopapi.logger.inc \Logger::log()
- 7.2 component/decorator/logger/moopapi.logger.inc \Logger::log()
- 7 component/decorator/logger/moopapi.logger.inc \Logger::log()
2 calls to Logger::log()
- Logger::logCall in component/
decorator/ moopapi.logger.inc - Logger::logCall in component/
decorator/ logger/ moopapi.logger.inc
File
- component/
decorator/ logger/ moopapi.logger.inc, line 64
Class
- Logger
- Logger.
Code
public function log($message, $placeholders = array()) {
$levels = self::getLevels();
foreach ($levels as $level) {
if ($this->level & $level) {
$this
->put2log($message, $placeholders);
}
}
}