Campbell Barton
c7e1d067a5
Merge branch 'master' into blender2.8
2018-07-31 21:27:51 +10:00
Campbell Barton
a3085190f8
Fix building w/ FreeBSD
...
fileno could be a macro which can't take a void pointer.
2018-07-31 20:52:36 +10:00
Campbell Barton
2451a1951e
Merge branch 'master' into blender2.8
2018-05-18 11:02:39 +02:00
Campbell Barton
278e3f7d5f
Logging: add --show-log-backtrace
...
Useful in debug builds to see a functions callers.
2018-05-18 11:00:47 +02:00
Nick Milios
94a62853ae
Fix build error with Visual Studio / Windows.
...
Differential Revision: https://developer.blender.org/D3363
2018-05-13 15:51:42 +02:00
7a2e271e54
Fix compiler warnings.
2018-05-13 14:48:55 +02:00
Campbell Barton
c7cfee04c4
Logging: setting log level wasn't working
2018-05-04 08:00:22 +02:00
Campbell Barton
b4e8d33f11
Logging: edits to build on macOS
2018-04-16 07:38:11 +02:00
Antonio Vazquez
87a9b6ac06
Fix compiler error in Windows
2018-04-15 09:55:42 +02:00
Campbell Barton
66d4e9300b
Logging: replace 'fwrite' w/ 'write'
...
We're already buffing output, so use write directly.
2018-04-14 13:59:33 +02:00
Campbell Barton
951d89b7b4
Cleanup: warning
2018-03-31 23:51:38 +02:00
Campbell Barton
ae3a1da1e6
Logging: fix own error with formatting
2018-03-31 15:43:47 +02:00
Campbell Barton
b237a1c2ea
Use int instead of bool
...
Causes issues when including in some files.
2018-03-31 15:33:15 +02:00
Campbell Barton
db8e7f9780
Logging: add argument --log-show-basename
...
Optionally strips leading path from filenames when logging.
2018-03-31 15:29:46 +02:00
Campbell Barton
ac4513a5b8
Logging: add ability to exclude categories.
2018-03-31 12:52:47 +02:00
Campbell Barton
5f59c22bf1
Docs: doxygen docs for clog
2018-03-31 12:27:18 +02:00
Campbell Barton
b8a66973ac
Fix clog: own error allocating from static buffer
2018-03-31 11:25:49 +02:00
Campbell Barton
af11eea3fd
Fix logger build w/ MSVC
2018-03-31 09:18:30 +02:00
Campbell Barton
891c1cfc9a
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.
2018-03-30 18:57:41 +02:00