Well, the original code doesn't matter, because neither approach is possible.
There's a little trick you can use though.
new ConsoleLogger(Logger, "config/dump.txt", false);
Logger.level = 2;
dumpConsoleFunctions();
Logger.delete();
The bad news: this will work exactly one time, because the ConsoleLogger is broken and doesn't detach properly. If you make another one later, it will write 2 lines for every console output, the next one will write 3 lines each, etc.
I don't know if badspot broke it while trying to stop it from writing to C:/blah paths, or if it was broken all the time.