Abstract class that defines the interface of a logger object for the GUI system. The default implementation of this interface is the DefaultLogger class; if you want to perform special logging, derive your own class from Logger and initialize a object of that type before you create the CEGUI::System singleton.  
 More...
List of all members.
| 
Public Member Functions | 
| void | setLoggingLevel (int level) | 
|  | Set the level of logging information that will get out to the log file. 
 | 
| int | getLoggingLevel () | 
|  | return the current logging level setting 
 | 
| void | logEvent (string message, int level=2) | 
|  | Add an event to the log. 
 | 
Detailed Description
Abstract class that defines the interface of a logger object for the GUI system. The default implementation of this interface is the DefaultLogger class; if you want to perform special logging, derive your own class from Logger and initialize a object of that type before you create the CEGUI::System singleton. 
Member Function Documentation
      
        
          | void GUI::Logger::setLoggingLevel | ( | int | level | ) |  | 
      
 
Set the level of logging information that will get out to the log file. 
- Parameters:
- 
  
    | level | One of the LoggingLevel enumerated values that specified the level of logging information required. |  
 
- Returns:
- Nothing 
 
 
      
        
          | int GUI::Logger::getLoggingLevel | ( |  | ) |  | 
      
 
return the current logging level setting 
- Returns:
- One of the LoggingLevel enumerated values specifying the current level of logging 
 
 
      
        
          | void GUI::Logger::logEvent | ( | string | message, | 
        
          |  |  | int | level = 2 | 
        
          |  | ) |  |  | 
      
 
Add an event to the log. 
- Parameters:
- 
  
    | message | String object containing the message to be added to the event log. |  | level | LoggingLevel for this message. If level is greater than the current set logging level, the message is not logged. |  
 
- Returns:
- Nothing