Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 9ad2fe0

Browse files
committed
fix configuration issue
1 parent 693fd6b commit 9ad2fe0

File tree

2 files changed

+31
-12
lines changed

2 files changed

+31
-12
lines changed

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/appender/appender.wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class AppenderWrapper {
2121

2222
constructor(appender: Newable<LogAppender<any>>, private readonly _config: IAppenderConfiguration) {
2323

24-
this._appender = new (appender as any)(_config);
24+
this._appender = new (appender as any)(_config.config);
2525

2626
this._isPassThrough = (!_config || !_config.filters || _config.filters.length === 0);
2727
if (!this._isPassThrough) {

0 commit comments

Comments
 (0)