rhea/assets/libraries/std/log.rhea
2023-09-14 17:35:11 +02:00

25 lines
325 B
Plaintext

var io = include "io";
var print = io.print;
// TODO: include time in the log
func error(value){
print("error " + value)
}
func warn(value){
print("warn " + value)
}
func info(value){
print("info " + value)
}
func debug(value){
print("debug " + value)
}
func trace(value){
print("trace " + value)
}