Interface CakeLogInterface

CakeLogStreamInterface is the interface that should be implemented by all classes that are going to be used as Log streams.

Direct Implementers

Indirect Implementers

Package: Cake\Log
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Log/CakeLogInterface.php

Method Summary

  • write() public
    Write method to handle writes being made to the Logger

Method Detail

write()source public

write( string $type , string $message )

Write method to handle writes being made to the Logger

Parameters

string $type
Message type.
string $message
Message to write.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-CakeLogInterface.html