Shipwright/libultraship/libultraship/luslog.h
M4xw d24c8453db git subrepo clone https://github.com/HarbourMasters/libultraship.git
subrepo:
  subdir:   "libultraship"
  merged:   "a484cda98"
upstream:
  origin:   "https://github.com/HarbourMasters/libultraship.git"
  branch:   "main"
  commit:   "a484cda98"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2022-03-22 02:52:44 +01:00

15 lines
340 B
C

#pragma once
#include "stdint.h"
#ifdef __cplusplus
extern "C" {
#endif
void luslog(const char* file, int32_t line, int32_t logLevel, const char* msg);
void lusprintf(const char* file, int32_t line, int32_t logLevel, const char* fmt, ...);
#ifdef __cplusplus
}
#endif
#define LUS_LOG(level, msg) luslog(__FILE__, __LINE__, level, msg)