mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(log): implement all log methods except SLogDump, SLogPend
This commit is contained in:
parent
ec148a9af8
commit
bc71b135a0
2 changed files with 322 additions and 71 deletions
|
|
@ -10,4 +10,19 @@ DECLARE_STRICT_HANDLE(HSLOG);
|
|||
DECLARE_STRICT_HANDLE(HLOCKEDLOG);
|
||||
|
||||
|
||||
void SLogInitialize();
|
||||
int SLogIsInitialized();
|
||||
void SLogDestroy();
|
||||
int SLogCreate(const char* filename, uint32_t flags, HSLOG* log);
|
||||
void SLogClose(HSLOG log);
|
||||
void SLogFlush(HSLOG log);
|
||||
void SLogFlushAll();
|
||||
void SLogGetDefaultDirectory(char* dirname, size_t dirnamesize);
|
||||
void SLogSetDefaultDirectory(const char* dirname);
|
||||
int32_t SLogSetAbsIndent(HSLOG log, int32_t indent);
|
||||
int32_t SLogSetIndent(HSLOG log, int32_t deltaIndent);
|
||||
void SLogVWrite(HSLOG log, const char* format, va_list arglist);
|
||||
void SLogWrite(HSLOG log, const char* format, ...);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue