PHP Class Autarky\Logging\DefaultLogConfigurator
You can easily change the path to log to by extending this class and
overriding either getLogDirectory, getLogFilename or getLogPath.
Show file
Open project: autarky/framework
Protected Properties
Public Methods
Method |
Description |
|
__construct ( ChannelManager $channelManager, Application $application, Autarky\Config\ConfigInterface $config ) |
Constructor. |
|
configure ( ) |
|
|
Protected Methods
Method Details
__construct()
public method
public __construct ( ChannelManager $channelManager, Application $application, Autarky\Config\ConfigInterface $config ) |
$channelManager |
ChannelManager |
|
$application |
Autarky\Application |
|
$config |
Autarky\Config\ConfigInterface |
|
getLogDirectory()
protected method
getLogFilename()
protected method
getLogPath()
protected method
makeDefaultLogger()
protected method
Property Details
$channelManager protected property
Channel manager instance.
protected ChannelManager,Autarky\Logging $channelManager |
return |
ChannelManager |
|
$config protected property
The config store instance.
protected ConfigInterface,Autarky\Config $config |
return |
Autarky\Config\ConfigInterface |
|
$environment protected property
protected string $environment |
return |
string |
|