Skip to content
Permalink
Browse files

Added links to book

  • Loading branch information...
ravage84 committed Aug 6, 2014
1 parent 53447fe commit 49bdde88d20adb331034f0a293e41f0d7ae6bd22
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Log/CakeLog.php
@@ -70,6 +70,7 @@
* on scopes
*
* @package Cake.Log
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#logging
*/
class CakeLog {
@@ -183,6 +184,7 @@ protected static function _init() {
* @param array $config Array of configuration information for the logger
* @return bool success of configuration.
* @throws CakeLogException
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#creating-and-configuring-log-streams
*/
public static function config($key, $config) {
if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $key)) {
@@ -398,6 +400,7 @@ public static function stream($streamName) {
* @param string|array $scope The scope(s) a log message is being created in.
* See CakeLog::config() for more information on logging scopes.
* @return bool Success
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#writing-to-logs
*/
public static function write($type, $message, $scope = array()) {
if (empty(self::$_Collection)) {

0 comments on commit 49bdde8

Please sign in to comment.
You can’t perform that action at this time.