aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/logging.h
blob: aa19b8f1d39fe202731840532986d0d05d112458 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include "context.h"

typedef void(*LoggingSink)(Context context, char* fmt);

void Log(Context context, char* fmt, ...);
void Log(Context context, char* fmt, va_list args);
void AddLoggingSink(LoggingSink sink);

// default logging sink
void DefaultLoggingSink(Context context, char* message);