mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
26 lines
392 B
C++
26 lines
392 B
C++
#pragma once
|
|
|
|
#include "IGpLogDriver.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
class GpIOStream;
|
|
|
|
class GpLogDriver_Web : public IGpLogDriver
|
|
{
|
|
public:
|
|
GpLogDriver_Web();
|
|
|
|
static void Init();
|
|
|
|
void VPrintf(Category category, const char *fmt, va_list args) override;
|
|
void Shutdown() override;
|
|
|
|
static GpLogDriver_Web *GetInstance();
|
|
|
|
private:
|
|
void InitInternal();
|
|
|
|
static GpLogDriver_Web ms_instance;
|
|
};
|