MyGUI: MyGUI::ILogListener Class Reference

MyGUI 3.4.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Member Functions
MyGUI::ILogListener Class Reference

`#include <MyGUI_ILogListener.h>`

Inheritance diagram for MyGUI::ILogListener:
[legend]

## Public Member Functions
virtual | ~ILogListener ()=default
virtual void | open ()
virtual void | close ()
virtual void | flush ()
virtual void | log (const std::string &, LogLevel, const struct tm *, const std::string &, const char *, int)

## Detailed Description

Definition at line 16 of file MyGUI_ILogListener.h.

## Constructor & Destructor Documentation

## ◆ ~ILogListener()

virtual MyGUI::ILogListener::~ILogListener | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ close()

virtual void MyGUI::ILogListener::close | ( |  | ) |
| inlinevirtual

Opens log listener. (for example close file)

Reimplemented in MyGUI::FileLogListener.

Definition at line 24 of file MyGUI_ILogListener.h.

## ◆ flush()

virtual void MyGUI::ILogListener::flush | ( |  | ) |
| inlinevirtual

Flush log listener messages.

Reimplemented in MyGUI::FileLogListener.

Definition at line 26 of file MyGUI_ILogListener.h.

## ◆ log()

virtual void MyGUI::ILogListener::log | ( | const std::string & | ,
|  | LogLevel | ,
|  | const struct tm * | ,
|  | const std::string & | ,
|  | const char * | ,
|  | int | )
| inlinevirtual

Log message.

Reimplemented in MyGUI::ConsoleLogListener, and MyGUI::FileLogListener.

Definition at line 28 of file MyGUI_ILogListener.h.

## ◆ open()

virtual void MyGUI::ILogListener::open | ( |  | ) |
| inlinevirtual

Opens log listener. (for example open file)

Reimplemented in MyGUI::FileLogListener.

Definition at line 22 of file MyGUI_ILogListener.h.

The documentation for this class was generated from the following file:

- MyGUI_ILogListener.h