Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310]

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