resonance
1.0.1
Loading...
Searching...
No Matches
log.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdarg.h>
4
5
#ifdef __cplusplus
6
#include "
os/hxstr.h
"
7
21
void
Warn(
const
char
*pszFormat, ...);
22
41
void
Fatal(
const
char
*pszFormat, ...);
42
56
void
Error(
const
char
*pszFormat, ...);
57
71
void
SysAssert(
const
char
*pszMessage,
const
char
*pszFile,
unsigned
int
nLine)
72
__attribute__((noreturn));
73
85
void
AlertScriptTemplate(
int
nTemplate, ...);
86
106
HxStr
FormatMessage(
const
HxStr
&format, va_list args,
int
nUnused);
107
119
HxStr
FmtImp(
const
HxStr
&format, va_list args);
120
132
HxStr
FormatHxStr(
const
char
*pszFormat, ...);
133
145
HxStr
FormatScriptTemplate(
int
nTemplate, ...);
146
160
void
ShowReportedMessage(
const
HxStr
&text,
int
nDuration);
161
174
void
ShowAlertMessage(
const
HxStr
&text);
175
#endif
176
194
void
ShowScreenMessage
(
const
char
*pszText,
int
nDuration);
HxStr
Heap-allocated NUL-terminated string.
Definition
hxstr.h:41
hxstr.h
ShowScreenMessage
void ShowScreenMessage(const char *pszText, int nDuration)
Show a message for a while, rather than writing it to the console.
src
os
log.h
Generated by
1.15.0