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

Feature request: user defined message handler #155

Open
RalfKubis opened this issue Mar 14, 2018 · 1 comment
Open

Feature request: user defined message handler #155

RalfKubis opened this issue Mar 14, 2018 · 1 comment

Comments

@RalfKubis
Copy link

Rather than always routing messages to stdout or stderr [fprintf(stderr,...)], it would be great to provide a mechanism that enables the client to register a notification callback function similar to

http://doc.qt.io/qt-5/qtglobal.html#qInstallMessageHandler

This would enable the application to integrate the library into the applications logging facility.
The default message handler could still dump to stderr.

@jmcnamara
Copy link
Owner

That's a good suggestion. I'll look into it.

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

2 participants