C Logging: use instead of printf for messages
authorCampbell Barton <ideasman42@gmail.com>
Thu, 29 Mar 2018 18:38:32 +0000 (20:38 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 30 Mar 2018 16:57:41 +0000 (18:57 +0200)
commit891c1cfc9a355171215821fc91b694273503f139
tree817fb055cf0d18f279a3ad6ca2745c0d1bd77a7c
parentc647c93f63051b12c4b1722171ad7b4a2e178ade
C Logging: use instead of printf for messages

- See `--log` help message for usage.
- Supports enabling categories.
- Color severity.
- Optionally logs to a file.
- Currently use to replace printf calls in wm module.

See D3120 for details.
21 files changed:
build_files/cmake/macros.cmake
intern/CMakeLists.txt
intern/clog/CLG_log.h [new file with mode: 0644]
intern/clog/CMakeLists.txt [new file with mode: 0644]
intern/clog/clog.c [new file with mode: 0644]
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/blender.c
source/blender/depsgraph/intern/eval/deg_eval.cc
source/blender/editors/util/CMakeLists.txt
source/blender/python/mathutils/mathutils_Euler.c
source/blender/windowmanager/CMakeLists.txt
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_init_exit.c
source/blender/windowmanager/intern/wm_keymap.c
source/blender/windowmanager/intern/wm_operators.c
source/creator/CMakeLists.txt
source/creator/creator.c
source/creator/creator_args.c