Permalink
Browse files

Updating doc blocks for CakeLog.

  • Loading branch information...
markstory committed Nov 6, 2009
1 parent 5506af8 commit 0c22175042d15c8dee35ba9f0663ff68cf34572b
Showing with 5 additions and 1 deletion.
  1. +5 −1 cake/libs/cake_log.php
View
@@ -84,6 +84,7 @@ function &getInstance() {
* @param string $key The keyname for this logger, used to revmoe the logger later.
* @param array $config Array of configuration information for the logger
* @return boolean success of configuration.
+ * @static
**/
function config($key, $config) {
if (empty($config['engine'])) {
@@ -104,7 +105,8 @@ function config($key, $config) {
* Attempts to import a logger class from the various paths it could be on.
* Checks that the logger class implements a write method as well.
*
- * @return mixed boolean false on any failures, string of classname to use if search was successful.
+ * @return mixed boolean false on any failures, string of classname to use if search was successful.\
+ * @access protected
**/
function _getLogger($loggerName) {
$plugin = null;
@@ -164,6 +166,7 @@ function remove($streamName) {
* @param string $key Keyname of config.
* @param array $config Array of config information for the LogStream
* @return boolean success
+ * @static
**/
function addStream($key, $config) {
$self = CakeLog::getInstance();
@@ -174,6 +177,7 @@ function addStream($key, $config) {
* Configures the automatic/default stream a FileLog.
*
* @return void
+ * @access protected
**/
function _autoConfig() {
if (!class_exists('FileLog')) {

0 comments on commit 0c22175

Please sign in to comment.