Skip to content

Commit

Permalink
chore: leave logger pipeline as is
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxuanzhangsfdx committed Feb 13, 2024
1 parent e01b3cb commit d2dda3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class Logger {
transport: {
pipeline: [
{
target: './transformStream',
target: path.join('..', '..', 'lib', 'logger', 'transformStream'),
},
getWriteStream(level),
],
Expand Down

2 comments on commit d2dda3e

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: d2dda3e Previous: 394c000 Ratio
Child logger creation 472527 ops/sec (±1.43%) 464176 ops/sec (±2.50%) 0.98
Logging a string on root logger 756273 ops/sec (±13.60%) 735785 ops/sec (±8.21%) 0.97
Logging an object on root logger 586224 ops/sec (±6.00%) 572668 ops/sec (±7.82%) 0.98
Logging an object with a message on root logger 10167 ops/sec (±200.24%) 11799 ops/sec (±199.37%) 1.16
Logging an object with a redacted prop on root logger 452170 ops/sec (±6.39%) 415130 ops/sec (±12.34%) 0.92
Logging a nested 3-level object on root logger 346034 ops/sec (±10.98%) 336519 ops/sec (±12.62%) 0.97

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: d2dda3e Previous: 394c000 Ratio
Child logger creation 341479 ops/sec (±0.49%) 334125 ops/sec (±0.43%) 0.98
Logging a string on root logger 794501 ops/sec (±5.06%) 788667 ops/sec (±12.43%) 0.99
Logging an object on root logger 632181 ops/sec (±6.69%) 584617 ops/sec (±5.52%) 0.92
Logging an object with a message on root logger 6860 ops/sec (±204.91%) 8510 ops/sec (±201.52%) 1.24
Logging an object with a redacted prop on root logger 430391 ops/sec (±5.59%) 425153 ops/sec (±14.19%) 0.99
Logging a nested 3-level object on root logger 282118 ops/sec (±5.88%) 327583 ops/sec (±5.25%) 1.16

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.