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

Allw logging of debug information #468

Merged
merged 20 commits into from
Feb 22, 2025
Merged

Allw logging of debug information #468

merged 20 commits into from
Feb 22, 2025

Conversation

dl1jbe
Copy link
Member

@dl1jbe dl1jbe commented Feb 13, 2025

  • Add debug infrasturcture
  • Allow control of debug output verbosity via '-d lvl' switch during startup.
  • Record selected Hamlib debug output.
  • Move TLF_LOG_... macros to TLF_SHOW_...
    They show the message to the user and log it into debuglog.
  • TLF_LOG_... macros to record error, warning, info and debug messages into debuglog file
  • Move use of syslog to TLF_LOG_...

- accept debug level 0..4 from commandline
- init debug system
Rename to TLF_SHOW_ to display a message and log it to file.
TLF_LOG_ will be used to only log the message.
Just log the message into the debuglog file according to category
debug_log() in functions.c needs more work
@dl1jbe dl1jbe merged commit b693bcf into Tlf:master Feb 22, 2025
2 checks passed
@dl1jbe dl1jbe deleted the log_debug branch February 22, 2025 09:06
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