Lioncash
a57409828c
logvisor: Make Module constructor constexpr
...
Allows the module instances to be constructed at compile time.
Otherwise, this is technically a runtime static constructor when an
instance is declared at file scope.
2019-08-17 19:47:20 -04:00
Jack Andersen
dcd0ffcaec
Fix custom formatting of multiple character types
2019-07-25 16:31:54 -10:00
Jack Andersen
3bedd268e8
Integrate libfmt for format strings
2019-07-19 18:21:39 -10:00
Jack Andersen
a0ef17d895
Refactor of CMake for cleaner dependency handling
2019-06-11 15:53:17 -10:00
Jack Andersen
ebe7463e67
Ignore GCC truncation warning
2019-06-09 16:48:06 -10:00
Jack Andersen
7672485d81
Make logvisor publicly link libdl on platforms that have it
2019-05-25 00:14:41 -10:00
Jack Andersen
c54e2596c2
Add cmake package config files
2019-05-22 18:07:58 -10:00
Jack Andersen
c3f34aed0b
Update include directory for proper installation
2019-05-22 17:58:40 -10:00
Jack Andersen
a2ffe70b4e
Don't kill windows console on abort
2019-05-09 18:06:21 -10:00
Jack Andersen
3da29add5f
Implicit switch fallthrough refactor
2019-02-17 19:45:51 -10:00
Jack Andersen
01e291833b
New code style refactor
2018-12-07 19:17:15 -10:00
Jack Andersen
1b6c2ae715
Convert to pragma once
2018-10-06 17:35:33 -10:00
Jack Andersen
22ed01ffc5
Add nxstl
2018-10-06 16:56:33 -10:00
Jack Andersen
79506228ad
Add nxstl mutex to logvisor
2018-09-29 12:59:14 -10:00
Jack Andersen
82f1df9c40
Use prctl on Linux to set thread name
2018-06-01 14:01:11 -10:00
Jack Andersen
2352699c65
Force console logger registration on Fatal
2018-05-26 16:17:12 -10:00
Jack Andersen
073cf1473b
Minor printf fix
2018-05-24 20:32:04 -10:00
Jack Andersen
71bbb3d082
Don't print addr2line's stderr
2018-05-05 15:30:53 -10:00
Jack Andersen
2e595922be
Add global log counter
2018-03-23 11:38:33 -10:00
Jack Andersen
bb0535f3a9
Use exit(1) instead of abort() for win32 release builds
2018-01-21 12:01:16 -10:00
Jack Andersen
b89d18c471
use exit(1) rather than abort() for release builds
2018-01-13 20:06:42 -10:00
Jack Andersen
f28fa0dbb2
Add KillProcessTree subroutine
2018-01-09 20:14:40 -10:00
Jack Andersen
beee8b3970
Use C++ standard library includes
2017-12-28 21:53:09 -10:00
Jack Andersen
408ae926d7
UWP support
2017-12-05 17:20:32 -10:00
Jack Andersen
59741b63b8
Merge branch 'master' of https://github.com/AxioDL/logvisor
2017-11-18 21:08:17 -10:00
Jack Andersen
f20a62749e
Lockless return when no loggers are registered
2017-11-18 21:07:26 -10:00
Jack Andersen
bfe0c1ccad
Fix addr2line invokation
2017-11-01 23:20:23 -10:00
Jack Andersen
f8ab0e03ba
Win32 sync
2017-01-20 14:18:50 -10:00
Jack Andersen
847d08d5b7
Proper raised abort() call
2017-01-18 23:01:09 -10:00
Jack Andersen
e6f24e6428
Better regulation of logging mutex
2017-01-18 10:54:00 -10:00
Jack Andersen
f913fb8479
Handle SIGABRT
2017-01-16 15:59:00 -10:00
Jack Andersen
b229c2f8fe
Fix MSVC compile fail
2017-01-16 15:30:32 -10:00
Jack Andersen
362499716c
Ensure ThreadMap is locked on modification
2017-01-16 15:19:06 -10:00
Jack Andersen
f601125b22
Fix macOS `atos` invocation
2016-09-29 17:31:24 -10:00
Jack Andersen
e397cb4b08
Add include needed by OS X
2016-09-18 15:32:20 -10:00
Jack Andersen
31aea91ea3
Better performance on backtrace generation
2016-09-18 13:46:05 -10:00
Jack Andersen
469bd97ce6
More informative backtrace on linux / OS X
2016-09-17 11:30:17 -10:00
Jack Andersen
9285d183d7
Recursive mutex for avoidng deadlocks during logging
2016-09-11 11:14:48 -10:00
Jack Andersen
c839ce774c
Less jarring fatal abort for Windows
2016-09-10 15:19:55 -10:00
Jack Andersen
a190c5cfb6
Send backtrace to stderr
2016-09-08 18:18:15 -10:00
Jack Andersen
ac88aa934d
Add backtrace print to fatal logvisor errors
2016-09-07 20:13:49 -10:00
Jack Andersen
48dc4c40c7
Merge branch 'master' of https://github.com/AxioDL/logvisor
2016-08-24 14:26:11 -10:00
Jack Andersen
f8a24cc128
Add logvisor::LockLog() for ensuring output stream sync
2016-08-24 14:25:06 -10:00
Phillip
22d516d66f
Random change to force openhub to remove it's head from it's rectum
2016-05-17 21:37:30 -07:00
Jack Andersen
68fcfd8469
Update LICENSE date
2016-03-06 17:11:13 -10:00
Jack Andersen
df3a949d61
Windows build fix
2016-03-04 17:21:18 -10:00
Jack Andersen
db415516f6
Humungous refactor
2016-03-04 13:01:18 -10:00
Jack Andersen
05e8742f5d
Namespace refactor / symbol changes
2016-03-04 10:28:28 -10:00
Jack Andersen
81af37641c
Namespace fix
2016-03-04 10:11:37 -10:00
Jack Andersen
50d6df62f9
Header rename
2016-03-04 09:52:08 -10:00