Class BaseLog
Base log engine class.
- BaseLog implements CakeLogInterface
Direct Subclasses
Abstract
Package: Cake\Log\Engine
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Log/Engine/BaseLog.php
Package: Cake\Log\Engine
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Log/Engine/BaseLog.php
Properties summary
-
$_config
protectedstring
Engine config
Method Summary
-
__construct() public
Constructor -
config() public
Sets instance config. When $config is null, returns config array
Method Detail
__construct() public ¶
__construct( array $config = array() )
Constructor
Parameters
- array $config optional array()
- Configuration array
config() public ¶
config( array $config = array() )
Sets instance config. When $config is null, returns config array
Config
types
string or array, levels the engine is interested inscopes
string or array, scopes the engine is interested in
Parameters
- array $config optional array()
- engine configuration
Returns
array