![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Common interface for classes sending some log info. More...
#include <ILogger.h>
Public Member Functions | |
virtual bool | IsLogConsumed (const IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const |
Check if any log message is consumed. | |
virtual bool | SendLogMessage (IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const |
Send any message to log. | |
Protected Member Functions | |
virtual void | DecorateMessage (IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const |
Decorate message parts before outputting. | |
Common interface for classes sending some log info.
Default implementation is provided for convinience and it does nothing.
|
inlineprotectedvirtual |
Decorate message parts before outputting.
Reimplemented in ifile::CCompactXmlFileReadArchive, ifile::CCompressedXmlFileReadArchive, ifile::CFileReadArchive, ifile::CSimpleXmlFileReadArchive, ilog::CLoggerBase, ilog::TLoggerCompWrap< Base >, ilog::TLoggerCompWrap< CFileTypeInfoComp >, ilog::TLoggerCompWrap< CInstantiatorComp >, ilog::TLoggerCompWrap< ifile::CRelativeFileNameParamComp >, iser::CCompactXmlMemReadArchive, iser::CCompactXmlReadArchiveBase, and iser::CXmlStreamReadArchiveBase.
|
inlinevirtual |
Check if any log message is consumed.
Default implementation retuns false.
Reimplemented in ilog::CLoggerBase.
Definition at line 66 of file ILogger.h.
Referenced by ifile::TFileSerializerComp< ReadArchive, WriteArchive >::ReadArchiveEx::IsLogConsumed(), and ifile::TFileSerializerComp< ReadArchive, WriteArchive >::WriteArchiveEx::IsLogConsumed().
|
inlinevirtual |
Send any message to log.
Default implementation do nothing.
category | message category. |
id | binary id identifying this message type for automatical processing. |
message | message text will be send. |
messageSource | source of the message. |
Reimplemented in ilog::CLoggerBase.
Definition at line 74 of file ILogger.h.
Referenced by ifile::TFileSerializerComp< ReadArchive, WriteArchive >::ReadArchiveEx::SendLogMessage(), and ifile::TFileSerializerComp< ReadArchive, WriteArchive >::WriteArchiveEx::SendLogMessage().
© Witold Gantzke and Kirill Lepskiy