Remove deprecated log procs from core:testing

This commit is contained in:
Feoramund
2024-08-18 21:30:32 -04:00
parent 17eb0b5ee0
commit 0fa24ac3c4
4 changed files with 28 additions and 49 deletions
+4 -4
View File
@@ -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)
}