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

Log entry type definitions #9

Open
ecpeterson opened this issue Nov 12, 2020 · 0 comments
Open

Log entry type definitions #9

ecpeterson opened this issue Nov 12, 2020 · 0 comments

Comments

@ecpeterson
Copy link
Contributor

The function log-entry takes a plist of arguments and retains them, still as a raw plist, for later perusal. This allows us to mimic most of the functionality of structured log entries without the overhead of having to define a bunch of actual structures. This flexibility comes at a significant cost: without a comprehensive list of log entry types and their fields, we are liable to duplicate entry types and misspell fields, so that they are not recallable or only partially recallable by filtering.

It would be preferable to enforce log entry safety by defining such types as using them. Perhaps this is not always desirable, and log-unsafe-entry should also be available for the casual log programmer, but it would be a better default.

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

1 participant