SimpleFileConfiguration
class SimpleFileConfiguration 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 |
protected string | $filename | The file where the log is to be stored. |
Methods
__construct(string $filename, int $coreLevel = Logger::DEBUG)
Initialize the instance.
LoggerInterface
createLogger(string $channel)
Create a new logger instance for a specific logigng channel.
from
SimpleConfiguration
HandlerInterface
createHandler(int $level)
Create a handler for a specific log level.
Details
setApplication(Application $app)
Setter method for the application
__construct(string $filename, int $coreLevel = Logger::DEBUG)
Initialize the instance.
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.