Fix bmcweb logging behaviour

- Ideally bmcweb-logging & debug build should be able to enable
  the debug logs individually and not together.This was missed
  during the meson port.This commit would replicate this behaviour
  for meson.

- As CI will always do a debug/debugoptimized buid,we can catch
  errors related to debug statements as well.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Id0d7c0a5a46d0ad529c1abf1450b2d1df9aa1ec7
diff --git a/meson.build b/meson.build
index bf347fa..d38ecaa 100644
--- a/meson.build
+++ b/meson.build
@@ -195,7 +195,7 @@
       endif
   endif
 
-    if( get_option('bmcweb-logging').enabled() and \
+    if( get_option('bmcweb-logging').enabled() or \
         get_option('buildtype').startswith('debug'))
      add_project_arguments([
        '-DBMCWEB_ENABLE_LOGGING',