mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
fix(#730): make the red color lighter for error
This commit is contained in:
parent
0a7c0f7644
commit
095ede2bdf
@ -70,7 +70,7 @@ const styles = {
|
||||
cyan: [36, 39],
|
||||
green: [32, 39],
|
||||
magenta: [35, 39],
|
||||
red: [31, 39],
|
||||
red: [91, 39],
|
||||
yellow: [33, 39]
|
||||
};
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ test('log4js layouts', (batch) => {
|
||||
|
||||
assert.equal(
|
||||
output,
|
||||
'\x1B[31m[2010-12-05T14:18:30.045] [ERROR] cheese - \x1B[39mnonsense'
|
||||
'\x1B[91m[2010-12-05T14:18:30.045] [ERROR] cheese - \x1B[39mnonsense'
|
||||
);
|
||||
assert.end();
|
||||
});
|
||||
@ -47,7 +47,7 @@ test('log4js layouts', (batch) => {
|
||||
colour: 'red'
|
||||
}
|
||||
});
|
||||
assert.equal(output, '\x1B[31m[2010-12-05T14:18:30.045] [ERROR] cheese - \x1B[39mthing 2');
|
||||
assert.equal(output, '\x1B[91m[2010-12-05T14:18:30.045] [ERROR] cheese - \x1B[39mthing 2');
|
||||
assert.end();
|
||||
});
|
||||
t.end();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user