mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-28 06:07:40 +00:00
Clean up startup logging
Now we do boot logging to an array. We harvest it in the —verbose command. We still need to provide a way to access the log in the browser too.
This commit is contained in:
@@ -24,6 +24,8 @@ var Command = function(params,commander) {
|
||||
|
||||
Command.prototype.execute = function() {
|
||||
this.commander.verbose = true;
|
||||
// Output the boot message log
|
||||
this.commander.streams.output.write("Boot log:\n " + $tw.boot.logMessages.join("\n ") + "\n");
|
||||
return null; // No error
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user