fix(core): update
This commit is contained in:
parent
4a1214a87f
commit
a9180878d5
6
package-lock.json
generated
6
package-lock.json
generated
@ -159,9 +159,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@pushrocks/smartlog-interfaces": {
|
"@pushrocks/smartlog-interfaces": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.2.tgz",
|
||||||
"integrity": "sha512-c9onE52z/5fGX5uEvaI/rXbcC6n7PkLrNjehRM+6JsK7HIbdAzrgY1PGrqUfW0a03hSe03mFcggORID+fQI4tA=="
|
"integrity": "sha512-kJNQ/6kfljgtwebhoiD8WtRWfdVhOoE1nr8FoUJLlOjLphU8SPa42Hg6/yPkSTaGxWwDhk6PkMJl64O7HNjRUQ=="
|
||||||
},
|
},
|
||||||
"@pushrocks/smartpath": {
|
"@pushrocks/smartpath": {
|
||||||
"version": "4.0.1",
|
"version": "4.0.1",
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"homepage": "https://gitlab.com/pushrocks/beautylog",
|
"homepage": "https://gitlab.com/pushrocks/beautylog",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/consolecolor": "^2.0.1",
|
"@pushrocks/consolecolor": "^2.0.1",
|
||||||
"@pushrocks/smartlog-interfaces": "^2.0.1",
|
"@pushrocks/smartlog-interfaces": "^2.0.2",
|
||||||
"@pushrocks/smartpromise": "^2.0.5",
|
"@pushrocks/smartpromise": "^2.0.5",
|
||||||
"ora": "^3.0.0",
|
"ora": "^3.0.0",
|
||||||
"smartenv": "^4.0.3"
|
"smartenv": "^4.0.3"
|
||||||
|
@ -22,6 +22,7 @@ tap.test('should create a valid instance of DestinationLocal', async () => {
|
|||||||
|
|
||||||
tap.test('.log(message) should print a blue Dir message', async () => {
|
tap.test('.log(message) should print a blue Dir message', async () => {
|
||||||
testLocalInstance.handleLog({
|
testLocalInstance.handleLog({
|
||||||
|
timestamp: Date.now(),
|
||||||
type: 'log',
|
type: 'log',
|
||||||
level: 'info',
|
level: 'info',
|
||||||
context: testLogContext,
|
context: testLogContext,
|
||||||
|
@ -47,6 +47,7 @@ export class DestinationLocal implements ILogDestination {
|
|||||||
this.sameMessageCounter = 0;
|
this.sameMessageCounter = 0;
|
||||||
this.previousMessage = logTextArg;
|
this.previousMessage = logTextArg;
|
||||||
this.logToConsole({
|
this.logToConsole({
|
||||||
|
timestamp: Date.now(),
|
||||||
type: 'log',
|
type: 'log',
|
||||||
level: 'info',
|
level: 'info',
|
||||||
context: {
|
context: {
|
||||||
|
Loading…
Reference in New Issue
Block a user