LogServiceProvider
class LogServiceProvider extends ServiceProvider
Properties
protected | $plugin | Instance of main plugin. | from ServiceProvider |
protected string | $filename | Log filename. | |
protected string | $path | Log complete path. | |
protected string | $log | Available Settings: "single", "daily", "errorlog". | |
protected string | $logLevel | What we can loggin. | |
protected array | $levels | The Log levels. | |
protected array | $colors | The Log levels colors. |
Methods
void
register()
Register the service provider.
__construct($plugin)
LogServiceProvider constructor.
__call(string $method, array $parameters)
Dynamically handle missing method calls.
write(string $level = 'debug', mixed $message = '', array $context = [])
Write the log.
Details
at line 116
void
register()
Register the service provider.
at line 81
__construct($plugin)
LogServiceProvider constructor.
at line 130
__call(string $method, array $parameters)
Dynamically handle missing method calls.
We are overridding the parent method.
at line 151
protected
write(string $level = 'debug', mixed $message = '', array $context = [])
Write the log.