| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#ifndef CHRYSALIS_BASELOGGERREGISTRYLISTENER_H |
| 2 |
|
|
|
|
#define CHRYSALIS_BASELOGGERREGISTRYLISTENER_H |
| 3 |
|
|
|
|
|
| 4 |
|
|
|
|
#include "LoggingLibraryExport.h" |
| 5 |
|
|
|
|
|
| 6 |
|
|
|
|
namespace Logging { |
| 7 |
|
|
|
|
|
| 8 |
|
|
|
|
class Logger; |
| 9 |
|
|
|
|
class LoggerRegistry; |
| 10 |
|
|
|
|
|
| 11 |
|
|
|
|
class LOGGING BaseLoggerRegistryListener { |
| 12 |
|
|
|
|
protected: |
| 13 |
|
|
|
|
explicit BaseLoggerRegistryListener(LoggerRegistry& registry); |
| 14 |
|
|
0/2
✗ Call 0 not invoked.
✗ Call 1 not invoked.
|
✗ |
virtual ~BaseLoggerRegistryListener() = default; |
| 15 |
|
|
|
|
public: |
| 16 |
|
|
|
|
virtual void loggerAdded(Logger* logger) = 0; |
| 17 |
|
|
|
|
protected: |
| 18 |
|
|
|
|
LoggerRegistry& registry_; |
| 19 |
|
|
|
|
}; |
| 20 |
|
|
|
|
} |
| 21 |
|
|
|
|
|
| 22 |
|
|
|
|
#endif //CHRYSALIS_BASELOGGERREGISTRYLISTENER_H |
| 23 |
|
|
|
|
|