mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(log): add SLOG_FLAG_* flags
This commit is contained in:
parent
efe062ca6b
commit
b195319ff6
2 changed files with 12 additions and 4 deletions
|
|
@ -3,11 +3,19 @@
|
|||
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
|
||||
#include "storm/Common.hpp"
|
||||
#include "storm/String.hpp"
|
||||
|
||||
|
||||
enum : uint32_t {
|
||||
SLOG_FLAG_DEFAULT = 0, // Create or open log file with first SLogWrite() call
|
||||
SLOG_FLAG_OPEN_FILE = 1, // Create or open log file with SLogCreate()
|
||||
SLOG_FLAG_NO_FILE = 2, // Don't use log file (use OutputDebugString or console only)
|
||||
SLOG_FLAG_APPEND = 4 // Don't truncate existing log file
|
||||
};
|
||||
|
||||
DECLARE_STRICT_HANDLE(HSLOG);
|
||||
DECLARE_STRICT_HANDLE(HLOCKEDLOG);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue