Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • ChannelManager
  • DefaultLogConfigurator
  • LoggingErrorHandler
  • LoggingProvider
  • Overview
  • Namespace
  • Class

Class DefaultLogConfigurator

Default log configurator.

You can easily change the path to log to by extending this class and overriding either getLogDirectory, getLogFilename or getLogPath.

Autarky\Logging\DefaultLogConfigurator implements Autarky\ConfiguratorInterface
Namespace: Autarky\Logging
Located at Logging/DefaultLogConfigurator.php
Methods summary
public
# __construct( Autarky\Logging\ChannelManager $channelManager, Autarky\Application $application, Autarky\Config\ConfigInterface $config )

Constructor.

Constructor.

Parameters

$channelManager
$application
$config
public
# configure( )

Run the configuration.

Run the configuration.

Implementation of

Autarky\ConfiguratorInterface::configure()
protected
# makeDefaultLogger( )
protected
# getLogPath( )
protected
# getLogDirectory( )
protected
# getLogFilename( )
Constants summary
string LOG_TS_FORMAT
# 'Y-m-d H:i:s.u P'
Properties summary
protected Autarky\Logging\ChannelManager $channelManager

Channel manager instance.

Channel manager instance.

#
protected Autarky\Config\ConfigInterface $config

The config store instance.

The config store instance.

#
protected string $environment

The environment name.

The environment name.

#
Autarky Framework API documentation generated by ApiGen