Design Pattern Examples
Overview of object-oriented design patterns
c/Bridge_NullLogger.h
Go to the documentation of this file.
1
5
6#pragma once
7#ifndef __BRIDGE_NULLLOGGER_H__
8#define __BRIDGE_NULLLOGGER_H__
9
10#include "Bridge_ILogger.h"
11
18
23void DestroyNullLogger(ILogger* logger);
24
25#endif // __BRIDGE_NULLLOGGER_H__
Declaration of the ILogger interface, along with the CreateLogger() and DestroyLogger() functions use...
void DestroyNullLogger(ILogger *logger)
Destroy the given instance of an ILogger for outputting to a console.
ILogger * CreateNullLogger(void)
Create an instance of an ILogger that outputs to a console.