/** * verifies if logging is enabled * @return boolean */ private function canLog() { return (bool) TinyBoard::getConfig('logging/enabled'); }