Commit Graph

38 Commits

Author SHA1 Message Date
Lioncash 63cb911d09 logvisor: Mark logvisorAbort as [[noreturn]]
All variants of logvisorAbort do what they say in their name -- abort.
Given control isn't returned from this function, we can signify that
it's a noreturn function
2019-09-06 07:37:27 -04:00
Phillip Stephens f623ace3b4
Merge pull request #4 from lioncash/docs
logvisor: Amend documentation comments
2019-08-26 15:55:18 -07:00
Lioncash 59f651f24b logvisor: Amend documentation comments
These use fmt-style formatting specifiers, not printf.
2019-08-26 10:57:19 -04:00
Lioncash 2a40c6dc92 logvisor: std::forward arguments where applicable
Forwards arguments into functions to preserve their value category
2019-08-26 10:50:35 -04:00
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 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 2352699c65 Force console logger registration on Fatal 2018-05-26 16:17:12 -10:00
Jack Andersen 2e595922be Add global log counter 2018-03-23 11:38:33 -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 f20a62749e Lockless return when no loggers are registered 2017-11-18 21:07:26 -10:00
Jack Andersen e6f24e6428 Better regulation of logging mutex 2017-01-18 10:54:00 -10:00
Jack Andersen 9285d183d7 Recursive mutex for avoidng deadlocks during logging 2016-09-11 11:14:48 -10:00
Jack Andersen ac88aa934d Add backtrace print to fatal logvisor errors 2016-09-07 20:13:49 -10:00
Jack Andersen f8a24cc128 Add logvisor::LockLog() for ensuring output stream sync 2016-08-24 14:25:06 -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
Phillip Stephens 448c56e37b Fix va_list clobbering
Adjust FileLogger output to match ConsoleLogger output
2016-01-04 18:42:43 -08:00
Jack Andersen e7478c5bb4 Added debugger breakpoint 2015-11-25 21:32:50 -10:00
Jack Andersen 4c2442df2d Added Win32 AllocConsole 2015-11-04 14:02:40 -10:00
Jack Andersen 189e047977 Made XtermColor publicly visible 2015-10-07 13:18:37 -10:00
Jack Andersen 7be764c387 Additional header for OS X build 2015-09-02 08:50:47 -10:00
Jack Andersen 154b844130 Removed exceptions completely 2015-08-24 21:01:00 -10:00
Jack Andersen 34f2f028a9 made frame count atomic 2015-07-26 10:55:17 -10:00
Jack Andersen c61ff288b9 Added error count; exceptions now compile-time option 2015-07-25 16:41:37 -10:00
Jack Andersen 085920205b MSVC noexcept fix 2015-07-22 09:06:24 -10:00
Jack Andersen c3dc632dd0 added FatalException for FatalError reports 2015-07-05 15:34:08 -10:00
Jack Andersen 47a7a95098 added reportSource method 2015-07-03 20:41:44 -10:00
Jack Andersen eb56245196 Enum updates 2015-07-03 19:20:02 -10:00
Jack Andersen a3e1cea106 initial round of logger integration 2015-07-03 12:08:41 -10:00
Jack Andersen 8eb66ae396 Initial commit 2015-07-03 08:26:55 -10:00