Revert "Improve command line logging (#3704)"

This reverts commit 25ec52b912.
This commit is contained in:
Jeremy Ruston
2024-06-07 18:09:50 +01:00
parent 36a9e3f54e
commit 6833ccdb97
5 changed files with 11 additions and 28 deletions

View File

@@ -21,7 +21,6 @@ function Logger(componentName,options) {
options = options || {};
this.componentName = componentName || "";
this.colour = options.colour || "white";
this.prefix = options.prefix || "";
this.enable = "enable" in options ? options.enable : true;
this.save = "save" in options ? options.save : true;
this.saveLimit = options.saveLimit || 100 * 1024;
@@ -34,20 +33,6 @@ Logger.prototype.setSaveBuffer = function(logger) {
this.saveBufferLogger = logger;
};
/*
Change the output colour
*/
Logger.prototype.setColour = function(colour) {
this.colour = colour || "white";
};
/*
Change the prefix
*/
Logger.prototype.setPrefix = function(prefix) {
this.prefix = prefix || "";
};
/*
Log a message
*/