abstract class SimpleConfiguration implements ConfigurationInterface, ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from  ApplicationAwareTrait
protected int $coreLevel

The logging level to care about for all core logs.

Methods

setApplication(Application $app)

Setter method for the application

__construct(int $coreLevel = Logger::DEBUG)

No description

int
getCoreLevel()

No description

LoggerInterface
createLogger(string $channel)

Create a new logger instance for a specific logigng channel.

HandlerInterface
createHandler(int $level)

Create a handler for a specific log level.

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct(int $coreLevel = Logger::DEBUG)

No description

Parameters

int $coreLevel

the logging level to care about for all core logs (one of the Monolog\Logger constants)

See also

Logger

int getCoreLevel()

No description

Return Value

int

LoggerInterface createLogger(string $channel)

Create a new logger instance for a specific logigng channel.

Parameters

string $channel

The name of logging channel

Return Value

LoggerInterface

See also

ConfigurationInterface::createLogger

abstract protected HandlerInterface createHandler(int $level)

Create a handler for a specific log level.

Parameters

int $level

One of the Monolog\Logger constants

Return Value

HandlerInterface

See also

Logger