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

Support logging for debugging purposes #4

Open
szxp opened this issue Jan 31, 2017 · 0 comments
Open

Support logging for debugging purposes #4

szxp opened this issue Jan 31, 2017 · 0 comments
Assignees
Milestone

Comments

@szxp
Copy link
Owner

szxp commented Jan 31, 2017

Support an optional logger in a Muxer. Log to an interface. For example:

type Fields map[string]string
// type Fields map[string]interface{}

type Logger interface {
    Log(fields Fields)
}

muxer.SetLogger(logger)
@szxp szxp self-assigned this Jan 31, 2017
@szxp szxp added this to the v1.0 milestone Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant