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

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Sep 2, 2024

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 [email protected]

@github-actions github-actions bot added the size/m label Sep 2, 2024
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 <[email protected]>
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 <[email protected]>
@kasjer kasjer force-pushed the kasjer/console-log-color-modules branch from 247668b to e157f71 Compare September 2, 2024 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant