diff options
| author | Mikkel Hjortshøj <hoej@northwolfprod.com> | 2020-03-28 14:14:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-28 14:14:20 +0100 |
| commit | dca6c451da470a8186c9ee6c2467774fc339581b (patch) | |
| tree | e346ef75b3b0b3580bb97084caa9e7f5721741ac | |
| parent | b98a4c6d69674bd52773b150d28e5fe235e72519 (diff) | |
| parent | a6c8dcdd210e840ecf243d955c73fc60874227b4 (diff) | |
Merge pull request #598 from ThisDrunkDane/master
Switch from now removed context.stdout/stderr to os.stdout/stderr
| -rw-r--r-- | core/log/file_console_logger.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/log/file_console_logger.odin b/core/log/file_console_logger.odin index 3136f967b..43b708880 100644 --- a/core/log/file_console_logger.odin +++ b/core/log/file_console_logger.odin @@ -64,7 +64,7 @@ file_console_logger_proc :: proc(logger_data: rawptr, level: Level, text: string data := cast(^File_Console_Logger_Data)logger_data; h : os.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. buf := strings.builder_from_slice(backing[:]); |