[ticket/346] Use phpBB log class instead of add_log()

B3P-346