foxygit / fake-08-xbox360 Log in
main xbox360 commits tags

/source/logger.h · 379 B

raw
#pragma once

#include <stdio.h>

void Logger_Initialize(const char* pathPrefix);
void Logger_Exit();
void Logger_LogOutput(const char * func, size_t line, const char * format, ...);
void Logger_Write(const char * format, ...);
void Logger_WriteUnformatted(const char * message);


#define LOG(format, ...) Logger_LogOutput(__PRETTY_FUNCTION__, __LINE__, format, ## __VA_ARGS__)