#74 Added the configuration of logging (errors, web service usage, etc.), and improved a little the error logging (both in a file and into the database + new format for additional information such as the callstack)

SVN:trunk[403]
This commit is contained in:
Romain Quetiez
2010-05-13 20:40:52 +00:00
parent 4e09d304f8
commit d527b56340
14 changed files with 492 additions and 57 deletions

View File

@@ -222,6 +222,8 @@ class WebServices
*/
protected function LogUsage($sVerb, $oRes)
{
if (!MetaModel::IsLogEnabledWebService()) return;
$oLog = new EventWebService();
if ($oRes->IsOk())
{