Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 39 and 311]

XMPPHP: The PHP XMPP Library Copyright (C) 2008  Nathanael C. Fritz This file is part of SleekXMPP. XMPPHP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: Nathanael C. Fritz fritzy@netflint.net>
Author: Stephan Wentz stephan@jabber.wentz.it>
Author: Michael Garvin gar@netflint.net>
Author: Alexander Birkner (https://github.com/BirknerAlex)
Copyright: 2008 Nathanael C. Fritz
File Size: 124 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Log:: (4 methods):
  __construct()
  log()
  printout()
  writeLine()


Class: Log  - X-Ref

XMPPHP Main Class

__construct($printout = false, $runlevel = self::LEVEL_INFO)   X-Ref
Constructor

param: boolean $printout
param: string  $runlevel

log($msg, $runlevel = self::LEVEL_INFO)   X-Ref
Add a message to the log data array
If printout in this instance is set to true, directly output the message

param: string  $msg
param: integer $runlevel

printout($clear = true, $runlevel = null)   X-Ref
Output the complete log.
Log will be cleared if $clear = true

param: boolean $clear
param: integer $runlevel

writeLine($msg, $runlevel, $time)   X-Ref
No description