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

sys/log: Use colors for module name when dumping log #3301

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

Commits on Sep 2, 2024

  1. sys/log: Use colors for module name when dumping log

    When LOG_CONSOLE_PRETTY is set dumping logs from log_shell
    uses same function for printing log header
    
    Module names are not printed in colors.
    log level now is printed always even when colors are enabled.
    
    Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
    kasjer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    0ae24da View commit details
    Browse the repository at this point in the history
  2. sys/log: Add default log names

    There are several predefined modules that have assigned
    module id but are not generated by newt tool
    
    This adds string values that are used to get modlog module
    name for those predefined modules.
    
    Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
    kasjer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    e157f71 View commit details
    Browse the repository at this point in the history