rhea/assets/libraries/std/log.rhea
2023-09-07 08:56:15 -05: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)
}