Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
manycore
emper
Merge requests
!32
make logging configurable during compilation and runtime
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
make logging configurable during compilation and runtime
configurable_log_level
into
master
Overview
0
Commits
1
Pipelines
4
Changes
7
Merged
Florian Fischer
requested to merge
configurable_log_level
into
master
4 years ago
Overview
0
Commits
1
Pipelines
4
Changes
7
Expand
Compile-time:
A new meson option 'log_level' is introduced which has all the values from the Loglevel enum
The 'OFF' option defines EMPER_LOG_OFF which causes the LOG* macros to be empty and the Logger<>::log function to return immediately
The default 'automatic' option sets 'log_level' to 'Error' for release buand to 'ALL' otherwise
Runtime:
The global variable emper::log_level defined in Debug.hpp controls the logging output
It is initialized with the meson option 'log_level' but can be changed during runtime
Edited
4 years ago
by
Florian Fischer
0
0
Merge request reports
Compare
master
version 3
e958c046
4 years ago
version 2
556d6cf6
4 years ago
version 1
3994e6b6
4 years ago
master (base)
and
latest version
latest version
b40099a8
1 commit,
4 years ago
version 3
e958c046
1 commit,
4 years ago
version 2
556d6cf6
1 commit,
4 years ago
version 1
3994e6b6
1 commit,
4 years ago
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
Loading