|
@@ -64,7 +64,7 @@ file_console_logger_proc :: proc(logger_data: rawptr, level: Level, text: string
|
|
data := cast(^File_Console_Logger_Data)logger_data;
|
|
data := cast(^File_Console_Logger_Data)logger_data;
|
|
h : os.Handle;
|
|
h : os.Handle;
|
|
if(data.file_handle != os.INVALID_HANDLE) do h = data.file_handle;
|
|
if(data.file_handle != os.INVALID_HANDLE) do h = data.file_handle;
|
|
- else do h = context.stdout if level <= Level.Error else context.stderr;
|
|
|
|
|
|
+ else do h = os.stdout if level <= Level.Error else os.stderr;
|
|
backing: [1024]byte; //NOTE(Hoej): 1024 might be too much for a header backing, unless somebody has really long paths.
|
|
backing: [1024]byte; //NOTE(Hoej): 1024 might be too much for a header backing, unless somebody has really long paths.
|
|
buf := strings.builder_from_slice(backing[:]);
|
|
buf := strings.builder_from_slice(backing[:]);
|
|
|
|
|