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

wrapArguments exceptions #1950

Open
Maschina opened this issue Dec 20, 2024 · 1 comment
Open

wrapArguments exceptions #1950

Maschina opened this issue Dec 20, 2024 · 1 comment

Comments

@Maschina
Copy link

Maschina commented Dec 20, 2024

Is it possible to add a list of functions inside an exception list where wrapArguments is ignored?

I have a couple of logs that I would like to keep on the same line.
For example log.service.debug("Foo bar") shall not be changed to

log.service.debug(
	"Foo bar"
)
@nicklockwood
Copy link
Owner

By default wrapArguments won't wrap lines that aren't already partially wrapped unless they exceed the --maxwidth you've set for line length. Are you seeing a case where this is happening? It might be a bug

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

No branches or pull requests

2 participants