diff options
| author | gingerBill <bill@gingerbill.org> | 2020-03-28 15:42:53 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-03-28 15:42:53 +0000 |
| commit | bda5e8cc6661906aa774a0692e5d6fc45ec4553a (patch) | |
| tree | 0c6d8b243132fcc7441952757ba75e88b148455e | |
| parent | 6d6f8f8da92676b12b5c0757b6cf3f9a419cf0de (diff) | |
| parent | dca6c451da470a8186c9ee6c2467774fc339581b (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
| -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[:]); |