phpbb\install\helper\iohandler\iohandler_interface::add_log_message PHP Method

add_log_message() public method

Note: When an array is passed into the parameters below, it will be resolved as printf($param[0], $param[1], ...).
public add_log_message ( string | array $log_title, string | boolean | array $log_description = false )
$log_title string | array Title of the log message
$log_description string | boolean | array Description of the log, or false if the log description is not available
    public function add_log_message($log_title, $log_description = false);

Usage Example

 /**
  * {@inheritdoc}
  */
 public function write($message, $verbosity)
 {
     if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE) {
         $this->iohandler->add_log_message($message);
         $this->iohandler->send_response();
     }
 }
All Usage Examples Of phpbb\install\helper\iohandler\iohandler_interface::add_log_message