ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CliLog Class Reference
+ Collaboration diagram for CliLog:

Public Member Functions

 __construct ()
 
 log ($msg)
 

Protected Attributes

 $stream
 

Detailed Description

Definition at line 5 of file sabredav.php.

Constructor & Destructor Documentation

◆ __construct()

CliLog::__construct ( )

Definition at line 9 of file sabredav.php.

9  {
10 
11  $this->stream = fopen('php://stdout', 'w');
12 
13  }

Member Function Documentation

◆ log()

CliLog::log (   $msg)

Definition at line 15 of file sabredav.php.

15  {
16  fwrite($this->stream, $msg . "\n");
17  }

Field Documentation

◆ $stream

CliLog::$stream
protected

Definition at line 7 of file sabredav.php.


The documentation for this class was generated from the following file: