提交 e6ebeb97 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Define MS_LOG_TRACE when `make Debug` (fixes #210)

上级 f23b0f34
...@@ -17,7 +17,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th ...@@ -17,7 +17,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th
### `make Debug` ### `make Debug`
Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG` and `MS_LOG_FILE_LINE`). Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG`, `MS_LOG_TRACE` and `MS_LOG_FILE_LINE`).
Check the meaning of these macros in the [Logger.hpp](worker/include/Logger.hpp) header file. Check the meaning of these macros in the [Logger.hpp](worker/include/Logger.hpp) header file.
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
}, },
'Debug': 'Debug':
{ {
'defines': [ 'DEBUG', 'MS_LOG_FILE_LINE' ], 'defines': [ 'DEBUG', 'MS_LOG_TRACE', 'MS_LOG_FILE_LINE' ],
'cflags': [ '-g', '-O0', '-fwrapv', '-Wno-parentheses-equality' ], 'cflags': [ '-g', '-O0', '-fwrapv', '-Wno-parentheses-equality' ],
'xcode_settings': 'xcode_settings':
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论