Simple logger with optional color.
void log(String str, {String color = ""}) { print("$color$str$reset"); }