BearFramework\App\FileLogger

A logger that saves the logs in the directory specified.
BearFramework\App\FileLogger implements BearFramework\App\ILogger {

    
/* Methods */
    
public __construct string $dir )
    public 
void log string $name string $message [, array $data = [] ] )

}
Implements
A logger interface.
Methods
public __construct ( string $dir )
public void log ( string $name , string $message [, array $data = [] ] )
Logs the data specified.
Details
Location: ~/src/App/FileLogger.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.