FileLog Class Info:

Class Declaration:

class FileLog implements CakeLogInterface

File name:
Cake/Log/Engine/FileLog.php
Description:

File Storage stream for Logging. Writes logs to different files based on the type of log it is.

Interfaces Implemented
CakeLogInterface
Package
Cake.Log.Engine

Properties:

  • _path string

    Path to save log files on.

__construct

top

Constructs a new File Logger.

Options

  • path the path to save logs on.

Parameters:
  • array $options optional array ( )

    Options for the FileLog, see above.

Method defined in:
Cake/Log/Engine/FileLog.php on line 46

write

top

Implements writing to log files.

Parameters:
  • string $type required

    The type of log you are making.

  • string $message required

    The message you want to log.

Method defined in:
Cake/Log/Engine/FileLog.php on line 58
Return

boolean success of write.