Add abilty to overwrite style of output through constructor

This commit is contained in:
Clayton Wilson
2024-03-11 06:53:36 -05:00
parent bed65ac4bb
commit d4e976c6c4
4 changed files with 99 additions and 55 deletions

View File

@@ -34,6 +34,18 @@ test("Constructors", () => {
callback: () => {},
},
});
const _logger8 = new Logger({
outputs: {
console: {
style: {
trace: { backgroundColor: "#ababab", textColor: "#bababa" },
debug: { backgroundColor: "#436ba3", textColor: "#197921" },
info: { backgroundColor: "#9991aa", textColor: "#906851" },
warn: { backgroundColor: "#deadbe", textColor: "#ad7ce3" },
},
},
},
});
});
test("Log Messages", () => {