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

Make logging more customization friendly #2320

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 10, 2021

  1. Make logging more customization friendly

    in the log module, introduce new functions
    format_sim_time(), format_recordname(), format_filename(),
    format_funcname(), format_exc_msg(), format_build_line().
    
    The added overhead for using these function calls to format the single
    log line elements is (over-)compensated by introducing LRU caching.
    
    Add a custom_logger example that shows how to add visual "brackets" to
    simulator timestamps.
    cmarqu committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    a8dd531 View commit details
    Browse the repository at this point in the history