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

Add passthrough logging filter #2198 #2467

Merged
merged 2 commits into from Jun 30, 2022

Conversation

Snapstromegon
Copy link
Member

@Snapstromegon Snapstromegon commented Jun 29, 2022

This change makes the log filter "passthrough" compatible, so you can put it in the middle of a filter chain.

That way you can use it like {{ "Some Text" | log("Some logging") | upper }}.

This fixes #2198.

This change makes the `log` filter "passthrough" compatible, so you can put it in the middle of a filter chain.

Signed-off-by: Raphael Höser <raphael@hoeser.info>
src/defaultConfig.js Outdated Show resolved Hide resolved
@zachleat zachleat merged commit e0c6637 into 11ty:master Jun 30, 2022
@zachleat zachleat added this to the Eleventy 2.0.0 milestone Jun 30, 2022
@zachleat
Copy link
Member

2.0.0-canary.13! Thank you!

Snapstromegon added a commit to Snapstromegon/11ty-website that referenced this pull request Jun 30, 2022
This adds the documentation for the newly added log chaining functionality from 11ty/eleventy#2467

Signed-off-by: Raphael Höser <raphael@hoeser.info>
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.

Add passthrough logging filter
2 participants