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 Warning interface and handler to gedcom package and implement in gedcom7 #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

funwithbots
Copy link
Owner

Still thinking this through but wanted to have it out there for comment.

const (
LevelDebug Level = iota - 1
LevelInfo
LevelWarning
Copy link
Owner Author

Choose a reason for hiding this comment

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

Still trying to think of a use case for Info and Debug levels. I guess for testing new functionality. I'm changing the tests that look for warnings to only consider LevelWarning or higher as failures.

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.

1 participant