[GH-ISSUE #155] Feature request: user defined message handler #127

Open
opened 2026-05-05 11:44:25 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @RalfKubis on GitHub (Mar 14, 2018).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/155

Originally assigned to: @jmcnamara on GitHub.

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.

Originally created by @RalfKubis on GitHub (Mar 14, 2018). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/155 Originally assigned to: @jmcnamara on GitHub. 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.
gitea-mirror added the
feature request
medium term
labels 2026-05-05 11:44:25 -06:00
Author
Owner

@jmcnamara commented on GitHub (Mar 14, 2018):

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

<!-- gh-comment-id:373169461 --> @jmcnamara commented on GitHub (Mar 14, 2018): That's a good suggestion. I'll look into it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#127
No description provided.