Esempio n. 1
0
 /**
  * Called immediately after creating a logger.
  * Override this function to customize initialization. By default, all errors
  * and warnings are enabled, as well as any messages issued on the default
  * channel (which are messages you are likely to emit with the when calling
  * {@link log_message()}.
  * @see _make_logger()
  * @param LOGGER $logger
  * @access private
  */
 protected function _init_logger($env, $logger)
 {
     $logger->set_enabled(Msg_type_error | Msg_type_warning);
     $logger->set_channel_enabled(Msg_channel_default, Msg_type_all);
 }