class SimpleDatabaseConfiguration extends SimpleConfiguration (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. from SimpleConfiguration

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)

Parameters

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

See also

int getCoreLevel()

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

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