#include <logimpl.h>
Inheritance diagram for openikev2::LogImpl:

Public Member Functions | |
| void | setLogMask (uint16_t log_mask) | 
| Sets the log mask to be applied.   | |
| virtual void | writeMessage (string who, string message, uint16_t type, bool main_info)=0 | 
| Writes a log message to the log file.   | |
| virtual void | open (string file_name) | 
| Opens the indicated file and writes subsequent log messages to it.   | |
| virtual void | close () | 
| Closes log file.  | |
| virtual void | notifyBusEvent (const BusEvent &event) | 
| Method to receive Bus Events.   | |
Protected Member Functions | |
| LogImpl () | |
| Creates a new LogImpl and sets its attribute default values.  | |
Protected Attributes | |
| uint16_t | log_mask | 
| Current log mask.  | |
| bool | show_extra_info | 
| Indicates if extra information must be shown.  | |
| FILE * | log_file | 
| File to write log information.  | |
Friends | |
| class | Log | 
| void openikev2::LogImpl::setLogMask | ( | uint16_t | log_mask | ) | 
| virtual void openikev2::LogImpl::writeMessage | ( | string | who, | |
| string | message, | |||
| uint16_t | type, | |||
| bool | main_info | |||
| ) |  [pure virtual] | 
        
Writes a log message to the log file.
| who | Module writting the message | |
| message | Log message to be writed | |
| type | Type of log message (Log::LOG_INFO, D_THRD, ...) | |
| main_info | Indicates if date must be writed | 
| void openikev2::LogImpl::open | ( | string | file_name | ) |  [virtual] | 
        
Opens the indicated file and writes subsequent log messages to it.
| file_name | File name | 
| void openikev2::LogImpl::notifyBusEvent | ( | const BusEvent & | event | ) |  [virtual] | 
        
 1.5.1