phpBB API Documentation
Class

phpbb\db\log_wrapper_migrator_output_handler

class log_wrapper_migrator_output_handler implements migrator_output_handler_interface

Methods

__construct(user $user, migrator_output_handler_interface $migrator, string $log_file)

Constructor

write(string|array $message, int $verbosity)

Write output using the configured closure.

Details

at line 47
public __construct(user $user, migrator_output_handler_interface $migrator, string $log_file)

Constructor

Parameters

user $user User object
migrator_output_handler_interface $migrator Migrator output handler
string $log_file File to log to

at line 74
public write(string|array $message, int $verbosity)

Write output using the configured closure.

Parameters

string|array $message The message to write or an array containing the language key and all of its parameters.
int $verbosity The verbosity of the message.