ICF 3.1.1.10
Technical documentation of ICF Libraries
ILoggable.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef ilog_ILoggable_included
7#define ilog_ILoggable_included
8
9
11
12
13namespace ilog
14{
15
16
20class ILoggable: virtual public istd::IPolymorphic
21{
22public:
26 virtual void SetLogPtr(IMessageConsumer* logPtr) = 0;
27
31 virtual IMessageConsumer* GetLogPtr() const = 0;
32};
33
34
35} // namespace ilog
36
37
38#endif // !ilog_ILoggable_included
39
40
Inteface for objects supporting the logging to message consumer.
Definition ILoggable.h:21
virtual void SetLogPtr(IMessageConsumer *logPtr)=0
Install log.
virtual IMessageConsumer * GetLogPtr() const =0
Get log.
Common interface for a message container consuming information objects (messages).
This namespace contains implementations for the logging functionality.

© Witold Gantzke and Kirill Lepskiy