mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
Remove inaccurate tprint concern
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ log :: proc(level: Level, args: ..any, sep := " ", location := #caller_location)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD()
|
runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD()
|
||||||
str := fmt.tprint(..args, sep=sep) //NOTE(Hoej): While tprint isn't thread-safe, no logging is.
|
str := fmt.tprint(..args, sep=sep)
|
||||||
logger.procedure(logger.data, level, str, logger.options, location)
|
logger.procedure(logger.data, level, str, logger.options, location)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user