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.
ファイルを表示
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_oe property
Channel manager instance.
protected ChannelManager,Autarky\Logging $channelManager |
return |
ChannelManager |
|
$config protected_oe property
The config store instance.
protected ConfigInterface,Autarky\Config $config |
return |
Autarky\Config\ConfigInterface |
|
$environment protected_oe property
protected string $environment |
return |
string |
|