Class FileLog
File Storage stream for Logging. Writes logs to different files based on the type of log it is.
- FileLog implements CakeLogInterface
Package: Cake\Log\Engine
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Log/Engine/FileLog.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Log/Engine/FileLog.php
Properties summary
-
$_path
protectedstring
Path to save log files on.
Method Summary
-
__construct() public
Constructs a new File Logger. -
write() public
Implements writing to log files.
Method Detail
__construct() public ¶
__construct( array $options = array() )
Constructs a new File Logger.
Options
path
the path to save logs on.
Parameters
- array $options optional array()
- Options for the FileLog, see above.