Exemplo n.º 1
0
 /**
  * Init the logger. If a username is given, the logger will log _additionally_ into a logs/username dir.
  * @param string $username The username for memberlogs
  * @param int $logbits bitmask for logging-modes
  * @param string $basedir The path to the logfiles. Should be relative.
  */
 public static function init($username = false, $logbits = self::_DEFAULT, $basedir = 'protected/logs')
 {
     self::$username = $username;
     self::$logbits = $logbits;
     self::$basedir = $basedir;
 }