mirror of
https://github.com/ClaytonWWilson/stokpile.git
synced 2026-03-10 21:25:10 +00:00
Add abilty to overwrite style of output through constructor
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user