Files
Aerofoil/AerofoilX/GpLogDriver_X.h

29 lines
432 B
C
Raw Normal View History

2021-03-18 17:08:11 -04:00
#pragma once
#include "IGpLogDriver.h"
#include <stdio.h>
class GpIOStream;
class GpLogDriver_X : public IGpLogDriver
{
public:
GpLogDriver_X();
static void Init();
2021-04-13 17:18:54 +02:00
2021-03-18 17:08:11 -04:00
void VPrintf(Category category, const char *fmt, va_list args) override;
void Shutdown() override;
static GpLogDriver_X *GetInstance();
private:
void InitInternal();
GpIOStream *m_stream;
bool m_isInitialized;
static GpLogDriver_X ms_instance;
};