ACF $AcfVersion:0$
ILoggable.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
6
7
8namespace ilog
9{
10
11
46class ILoggable: virtual public istd::IPolymorphic
47{
48public:
76 virtual void SetLogPtr(IMessageConsumer* logPtr) = 0;
77
102 virtual IMessageConsumer* GetLogPtr() const = 0;
103};
104
105
106} // namespace ilog
107
108
109
110
Interface for objects that support logging functionality.
Definition ILoggable.h:47
virtual void SetLogPtr(IMessageConsumer *logPtr)=0
Attach a message consumer for logging.
virtual IMessageConsumer * GetLogPtr() const =0
Get the currently attached message consumer.
Common interface for a message container consuming information objects (messages).
Base interface for all used interfaces and implementations.
This namespace contains implementations for the logging functionality.