Skip to content

fix: Allow appenders to depend on not-yet-loaded appenders.#986

Merged
nomiddlename merged 1 commit intolog4js-node:masterfrom
mvastola:fix-appender-load-order
Feb 10, 2020
Merged

fix: Allow appenders to depend on not-yet-loaded appenders.#986
nomiddlename merged 1 commit intolog4js-node:masterfrom
mvastola:fix-appender-load-order

Conversation

@mvastola
Copy link
Copy Markdown
Contributor

Close #746

Copy link
Copy Markdown
Collaborator

@nomiddlename nomiddlename left a comment

Choose a reason for hiding this comment

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

Hi - thanks for doing this. Could you add a test that covers it though, please? Should be pretty simple to come up with some config that reproduces the problem.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 1, 2020

Codecov Report

Merging #986 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #986      +/-   ##
==========================================
+ Coverage   98.61%   98.63%   +0.01%     
==========================================
  Files          25       25              
  Lines        1013     1022       +9     
==========================================
+ Hits          999     1008       +9     
  Misses         14       14
Impacted Files Coverage Δ
lib/appenders/index.js 98.36% <100%> (+0.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d37678f...5aec282. Read the comment docs.

@mvastola mvastola requested a review from nomiddlename February 1, 2020 21:47
@mvastola
Copy link
Copy Markdown
Contributor Author

mvastola commented Feb 1, 2020

@nomiddlename test is added (and passing).

@mvastola mvastola removed the request for review from nomiddlename February 1, 2020 21:52
@mvastola

This comment has been minimized.

@mvastola
Copy link
Copy Markdown
Contributor Author

mvastola commented Feb 1, 2020

Ok. Now it should be good.

@mvastola mvastola requested a review from nomiddlename February 1, 2020 22:16
@nomiddlename nomiddlename added this to the 6.1.2 milestone Feb 10, 2020
@nomiddlename nomiddlename merged commit 3668086 into log4js-node:master Feb 10, 2020
@nomiddlename
Copy link
Copy Markdown
Collaborator

Thanks for this - published to NPM in [email protected]

@mvastola
Copy link
Copy Markdown
Contributor Author

@nomiddlename Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: appender is not a function

2 participants