mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Remove deprecated log procs from core:testing
This commit is contained in:
@@ -12,7 +12,7 @@ package testing
|
||||
|
||||
import "base:runtime"
|
||||
import "core:fmt"
|
||||
import pkg_log "core:log"
|
||||
import "core:log"
|
||||
import "core:strings"
|
||||
import "core:sync/chan"
|
||||
import "core:time"
|
||||
@@ -81,9 +81,9 @@ format_log_text :: proc(level: runtime.Logger_Level, text: string, options: runt
|
||||
backing: [1024]byte
|
||||
buf := strings.builder_from_bytes(backing[:])
|
||||
|
||||
pkg_log.do_level_header(options, &buf, level)
|
||||
pkg_log.do_time_header(options, &buf, at_time)
|
||||
pkg_log.do_location_header(options, &buf, location)
|
||||
log.do_level_header(options, &buf, level)
|
||||
log.do_time_header(options, &buf, at_time)
|
||||
log.do_location_header(options, &buf, location)
|
||||
|
||||
return fmt.aprintf("%s%s", strings.to_string(buf), text, allocator = allocator)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user