-
Notifications
You must be signed in to change notification settings - Fork 117
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 Caddy json log support #367
Conversation
Hi @simon04, thank you for taking the time and opening the PR adding the Caddy log support. |
Hi @michalkleiner, the types are defined in https://peps.python.org/pep-0484/ and are being used more and more in the Python ecosystem. Sure, the code works w/o types as well, but we'd loose some static analysis capabilities. Since the type classes are wrapped in
Please let me know how to proceed... |
@sgiehl what's your opinion here? I'd accept the PR without the types, but if you're happy with it as is then all good with me. |
@simon04 Yes. Please remove the typing for now. We can consider adding that at a later step for the whole script if useful. |
Hi @michalkleiner and @sgiehl, I've made the progress in static type checking undone. Feel free to merge now. |
Thank you for the contribution, @simon04! |
Description:
Add Caddy json log support, https://caddyserver.com/docs/caddyfile/directives/log
Review