Commit Graph

30 Commits

Author SHA1 Message Date
Luke Street 139281f667 Update fmt to 8.0.0; drop support for wchar
Adds some boost-nowide headers to assist in
UTF-8/16 conversion for Windows API.
2021-06-22 15:13:37 -04:00
Luke Street 984d87348e Set FMT_ARM_ABI_COMPATIBILITY; move fmt defines to CMake 2021-04-06 17:55:15 -04:00
Luke Street 33e7322595 Update submodules; set submodule tracking branch 2021-04-06 12:46:56 -04:00
Luke Street 0e3fe3e766 Integrate sentry-native crash reporting 2021-04-04 18:20:48 -04:00
Phillip Stephens 8913e55e34 Fix crashing on windows when registering a file logger after a console logger, windows runtime bugs annoy the hell out of me >:( 2020-12-31 13:53:26 -08:00
Luke Street 41432143fd Only use lm service when LOGVISOR_NX_LM set 2020-05-05 00:14:41 -04:00
Jack Andersen 14ea54f8b5 Add lm service for switch build 2020-05-03 20:09:21 -10:00
Jack Andersen d62b4ce26e Update fmtlib 2020-04-11 12:44:21 -10:00
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 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