Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Lazy Option in transport #2317

Merged
merged 7 commits into from
Jul 10, 2023
Merged

Added Lazy Option in transport #2317

merged 7 commits into from
Jul 10, 2023

Conversation

Pulkit0729
Copy link
Contributor

This change tries to address the issue #1494.

-Added lazy option in file transport

  • Added test case for file rotation format
  • Added test case for lazy option

@DABH
Copy link
Contributor

DABH commented Jun 28, 2023

@Pulkit0729 Can you work on getting CI to pass first? Looks like first issue is there are linter problems…

@Pulkit0729
Copy link
Contributor Author

Pulkit0729 commented Jun 28, 2023

Hey @DABH , Completed the CI. You can have a look now

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

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

This looks pretty good and well-tested to me. I am ok with approving this with the minor formatting suggestions taken into account. Thanks for your contribution!

test/unit/winston/transports/01-file-maxsize.test.js Outdated Show resolved Hide resolved
test/unit/winston/transports/01-file-maxsize.test.js Outdated Show resolved Hide resolved
Pulkit0729 and others added 2 commits July 10, 2023 11:26
Co-authored-by: David Hyde <DABH@users.noreply.github.com>
Co-authored-by: David Hyde <DABH@users.noreply.github.com>
@DABH DABH merged commit f7e7f2f into winstonjs:master Jul 10, 2023
4 checks passed
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.

None yet

2 participants