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

Allow log function callback instead of log file for c2mir messages #405

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

Conversation

rooStew
Copy link

@rooStew rooStew commented Jun 10, 2024

Allow easier embedding into applications, especially an IDE, by setting a log function in c2mir_options rather than needing to create, write, read, and parse a log file

In c2mir, n_errors was only incremented if message_file was assigned a file stream, potentially leading to different behavior for debug and release

isprint was asserting when token_code > 255 in get_token_name

Rob Stewart added 2 commits June 10, 2024 15:39
…ng a log function in c2mir_options rather than needing to create, write, read, and parse a log file

In c2mir, n_errors was only incremented if message_file was assigned a file stream, potentially leading to different behavior for debug and release

isprint was asserting when token_code > 255 in get_token_name
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