Added configuration variable to disable logging. Currently it is a boolean value, but eventually it will probably be broken out into an array with key/value pairs to correspond with the different logging options within the PICKLES core.
This commit is contained in:
parent
7fba0d231d
commit
3a89586eb1
6 changed files with 66 additions and 26 deletions
|
@ -119,7 +119,10 @@ class Controller extends Object
|
|||
}
|
||||
else
|
||||
{
|
||||
Log::warning('Class named ' . $module_class . ' was not found in ' . $module_filename);
|
||||
if ($this->config->pickles['logging'] === true)
|
||||
{
|
||||
Log::warning('Class named ' . $module_class . ' was not found in ' . $module_filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue