eastern-flames/eastern flames/scripts/log/log.gml

21 lines
467 B
Plaintext
Raw Permalink Normal View History

2022-08-07 21:14:04 +00:00
///@function log(data[...]);
function log() {
var r = string(argument[0]), i;
for (i = 1; i < argument_count; i++) {
r += ", " + string(argument[i]);
}
var stack = debug_get_callstack(10);
//show_debug_message(stack);
show_debug_message(string(current_time) + " : " + string(stack[1]) + " : " + r);
2022-08-15 02:35:57 +00:00
//var p = new consoleEntry(r,c_black);
2022-08-07 21:14:04 +00:00
}
/*
var a = {};
for(var i = 0; i < 24; i++){
a[$i] = i;
}
for(var i = 0; i < 24; i++){
log(a[$i]);
}*/
//log(a[$4])