#include <Logger.hpp>
Metody publiczne | |
Konfiguracja | |
Te metody nie są bezpieczne wątkowo. | |
| void | AddLogMapping (uint4 Mask, ILog *Log) |
| Rejestruje log w loggerze mapując do niego określone typy komunikatów. | |
| void | AddTypePrefixMapping (uint4 Mask, const tstring &Prefix) |
| Ustawia mapowanie prefiksów typu dla wszystkich zarejestrowanych logów. | |
| void | SetPrefixFormat (const tstring &PrefixFormat) |
| Ustawia format prefiksu dla wszystkich zarejestrowanych logów. | |
Używanie loggera. | |
Te metody są bezpieczne wątkowo. | |
| void | SetCustomPrefixInfo (int Index, const tstring &Info) |
| Ustawia własną informację prefiksu. Indeks: 0..2. | |
| void | Log (uint4 Type, const tstring &Message) |
Przyjaciele | |
| class | ILog |
| void | CreateLogger (bool) |
| Tworzy logger. | |
| void | DestroyLogger () |
| Usuwa logger. | |
Rejestruje log w loggerze mapując do niego określone typy komunikatów.
Ustawia mapowanie prefiksów typu dla wszystkich zarejestrowanych logów.
| void common::Logger::SetPrefixFormat | ( | const tstring & | PrefixFormat | ) |
Ustawia format prefiksu dla wszystkich zarejestrowanych logów.
| void common::Logger::SetCustomPrefixInfo | ( | int | Index, | |
| const tstring & | Info | |||
| ) |
Ustawia własną informację prefiksu. Indeks: 0..2.
friend class ILog [friend] |
| void CreateLogger | ( | bool | ) | [friend] |
Tworzy logger.
| void DestroyLogger | ( | ) | [friend] |
Usuwa logger.
1.5.5