00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 class GauffrLog extends GauffrPersistentObject
00020 {
00021
00022
00023 const DEBUG = ezcLog::DEBUG;
00024 const INFO = ezcLog::INFO;
00025 const WARNING = ezcLog::WARNING;
00026 const ERROR = ezcLog::ERROR;
00027 const SYSTEM = ezcLog::SUCCESS_AUDIT;
00028
00029
00030 protected $ID;
00031 public $Category;
00032 public $File;
00033 public $Line;
00034 public $Message;
00035 public $Severity;
00036 public $Source;
00037 public $Time;
00038
00039
00040
00041
00042
00043
00044
00045 public function getState()
00046 {
00047 return array(
00048 'ID' => $this->ID,
00049 'Category' => $this->Category,
00050 'File' => $this->File,
00051 'Line' => $this->Line,
00052 'Message' => $this->Message,
00053 'Severity' => $this->Severity,
00054 'Source' => $this->Source,
00055 'Time' => $this->Time,
00056 );
00057 }
00058
00059 }
00060
00061 ?>