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

dhcpv4: server4: Add a simple logging implementation #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

purpleidea
Copy link

This adds a simple implementation of the logging struct so that you
don't need to implement the complex interface if you don't need it.

This adds a simple implementation of the logging struct so that you
don't need to implement the complex interface if you don't need it.
@purpleidea
Copy link
Author

I think that the solution in https://github.com/insomniacslk/dhcp/pull/371/files was over-engineered, but in any case, I expect most people like myself just want simple logging. This patch adds a simple implementation so that you can easily "get logging" by passing in your own printf function straight away.

This is meant as an alternative to #373 which wasn't accepted.

Cheers!

@pmazzini
Copy link
Collaborator

Can you sign the commit?

@purpleidea
Copy link
Author

@pmazzini You want to merge this now?

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.

2 participants