phpDocumentor GloryLands
Common
[ class tree: GloryLands ] [ index: GloryLands ] [ all elements ]

Class: GLError

Source Location: /engine/lib/common/errors.php

Class GLError

Class Overview

Error management This class provides debugging information and error handling on the whole game system.

Error management This class provides debugging information and error handling on the whole game system.

Located in /engine/lib/common/errors.php [line 45]



		
				Author(s):
		
Information Tags:
Version:  1.0
Todo:  Implement the error stack

Properties

Methods

[ Top ]
Property Summary
static mixed   $errors  

[ Top ]
Method Summary
static void   log()  
static void   render()  
static void   report()  
static void   trigger()  

[ Top ]
Properties
static mixed   $errors [line 59]
API Tags:
Access:  public


[ Top ]
Methods
static method log  [line 71]

  static void log( $message, $category, [ $level = ERROR]  )

Parameters:
   $message: 
   $category: 
   $level: 

API Tags:
Access:  public


[ Top ]
static method render  [line 254]

  static void render( [ $format = FORMAT_HTML]  )

Parameters:
   $format: 

API Tags:
Access:  public


[ Top ]
static method report  [line 81]

  static void report( $message, $category, [ $level = ERROR]  )

Parameters:
   $message: 
   $category: 
   $level: 

API Tags:
Access:  public


[ Top ]
static method trigger  [line 61]

  static void trigger( $message, [ $level = ERROR]  )

Parameters:
   $message: 
   $level: 

API Tags:
Access:  public


[ Top ]
Constants
CRITICAL = 'critical' [line 47]

[ Top ]
DEBUG = 'critical' [line 51]

[ Top ]
ERROR = 'error' [line 48]

[ Top ]
FORMAT_DEBUG = 128 [line 57]

[ Top ]
FORMAT_HTML = 1 [line 53]

[ Top ]
FORMAT_JSON = 8 [line 56]

[ Top ]
FORMAT_TEXT = 2 [line 54]

[ Top ]
FORMAT_XML = 4 [line 55]

[ Top ]
NOTICE = 'notice' [line 50]

[ Top ]
WARNING = 'warning' [line 49]

[ Top ]

Documentation generated on Tue, 13 Oct 2009 23:48:53 +0300 by phpDocumentor 1.4.1