phpBB API Documentation
Class

phpbb\db\output_handler\log_wrapper_migrator_output_handler

class log_wrapper_migrator_output_handler implements migrator_output_handler_interface

Methods

__construct(language $language, migrator_output_handler_interface $migrator, string $log_file, filesystem_interface $filesystem)

Constructor

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

Write output using the configured closure.

Details

at line 51
public __construct(language $language, migrator_output_handler_interface $migrator, string $log_file, filesystem_interface $filesystem)

Constructor

Parameters

language $language Language object
migrator_output_handler_interface $migrator Migrator output handler
string $log_file File to log to
filesystem_interface $filesystem phpBB filesystem object

at line 79
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.