bmcweb: cmake: add advanced logs build option
Add cmake option to enable output of extended debug logs, separate from
DEBUG build.
Time to time when testing `bmcweb` it is required to output logs with
extended debug information.
Cmake currently allows this option to be enabled with build of the debug
symbols.
Sometimes this behavior will be overhad and this is unwanted to be extra
size of `bmcweb` binary (and disabling the code optimization).
With add of the `BMCWEB_ENABLE_LOGGING` option, the bmcweb allows to
separate the extended logging from the debug build type.
End-user-impact: None
Change-Id: I0d42c8373aa6f343117b68390172dce2f0db64a0
Signed-off-by:
Igor Kononenko <i.kononenko@yadro.com>
Loading
Please register or sign in to comment