Translations of this page: en bg cs de fi fr hu it ja pl ru tr zh

This is an old revision of the document!


API for log events (pun_admin_log)

PunBB 1.3 official extension

  • Status: under development
  • Current version: 1.0b

General idea

Adds event logging and a GUI for browsing logs.

Specification

Functionality

Logs lots of PunBB events.

Interface

  • File “forum.log”
  • “Features page”
    • Enable logging to file
    • Enable logging to database
    • Path to log-file

Database

Extension use tables of extension pun_admin_events

API documentation

Functions

pun_log_write_logfile Writes information about event to file.

void pun_log_write_logfile(string $str)

  • string $str: this line writes to log-file

record_log_file Returns the specified string to write to the log-file

string record_log_file(string $action, string $comment)

  • string

Personal Tools