Skip to content

feat: option to set verbosity in nudock#4

Open
hank-hua wants to merge 1 commit into
mainfrom
feature/verbosity
Open

feat: option to set verbosity in nudock#4
hank-hua wants to merge 1 commit into
mainfrom
feature/verbosity

Conversation

@hank-hua
Copy link
Copy Markdown
Collaborator

Added an option to set the verbosity level of nudock. This is useful during joint fits to prevent nudock spamming the log every time a likelihood is requested. Key changes include:

  • Added a VerbosityLevel enum for logging verbosity level. The nudock constructor now accepts a verbosity parameter with a default value of INFO.
  • Replaced all std::cout and std::cerr statements with the new logging macros, which only print messages depending on the verbosity.
  • Renamed DEBUG() to DEBUG_PREFIX() for clearer naming, and used it within the new logging macros.

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