25 lines
325 B
Plaintext
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)
|
|
} |