Logo
Logger.h
1#pragma once
2
3#include "base/Log.h"
4
5namespace SharpKmyBase
6{
7 class nativeLogger : public kmyBase::Logger
8 {
9 public:
11 nativeLogger(void *d);
12 virtual void output(u32 type, const char* msg);
14 };
15
16 public ref class Logger
17 {
18 public:
19 Logger();
20 void Release();
21 virtual void output(u32 type, System::String ^msg) {}
22 static void _output(void* managedLogger, u32 type, const char* msg);
23
25 GCHandle handle;
26 };
27}
Definition: Logger.h:17
Logger()
Definition: Logger.cpp:5
nativeLogger * ptr
Definition: Logger.h:24
GCHandle handle
Definition: Logger.h:25
static void _output(void *managedLogger, u32 type, const char *msg)
Definition: Logger.cpp:19
void Release()
Definition: Logger.cpp:12
virtual void output(u32 type, System::String ^msg)
Definition: Logger.h:21
Definition: Logger.h:8
virtual void output(u32 type, const char *msg)
Definition: Logger.cpp:32
nativeLogger(void *d)
Definition: Logger.cpp:27
USE_MEMORY_TRACKING
Definition: Logger.h:10
void * managedLogger
Definition: Logger.h:13
Definition: Guid.cpp:4