/**
  * @param ENVIRONMENT $env Requires the global environment to check JavaScript capabilities.
  */
 public function __construct($env)
 {
     parent::__construct($env);
     $this->set_is_html(true);
     $this->env = $env;
     $this->CSS_file_name = $env->logger_style_sheet;
     $this->_log_info = new LOG_INFO();
 }
Esempio n. 2
0
 /**
  * Initialize the on-screen logger by passing {@link ENVIRONMENT::is_http_server()} 
  * to {@link set_is_html()}.
  * @param ENVIRONMENT $env
  */
 public function __construct($env)
 {
     parent::__construct();
     $this->set_is_html($env->is_http_server());
 }