refactor(log): rework SLog to use bc filesystem API

This commit is contained in:
phaneron 2025-04-14 03:36:40 -04:00
parent af834cafa7
commit 1fa8a1e82b
4 changed files with 186 additions and 227 deletions

View file

@ -16,9 +16,9 @@ DECLARE_STRICT_HANDLE(HSLOG);
DECLARE_STRICT_HANDLE(HLOCKEDLOG);
void SLogInitialize();
int SLogIsInitialized();
int32_t SLogIsInitialized();
void SLogDestroy();
int SLogCreate(const char* filename, uint32_t flags, HSLOG* log);
int32_t SLogCreate(const char* filename, uint32_t flags, HSLOG* log);
void SLogClose(HSLOG log);
void SLogFlush(HSLOG log);
void SLogFlushAll();