Lioncash
8aa910b315
logging/backend: Add missing services to the log filters
Just a few overlooked services.
8 years ago
Zach Hilman
e37e15fd1e
service: Add skeleton for psm service
Seems to be the power controller. Listed in switchbrew under the category PTM services.
8 years ago
Carl Kenner
c7871341fe
logging: Add DebuggerBackend for logging to Visual Studio
8 years ago
Lioncash
025ab5f04f
text_formatter: Avoid unnecessary string temporary creation in PrintMessage()
operator+ for std::string creates an entirely new string, which is kind
of unnecessary here if we just want to append a null terminator to the
existing one.
Reduces the total amount of potential allocations that need to be done
in the logging path.
8 years ago
David
11a9e90d8d
Stubbed IRS ( #1349 )
* Stubbed IRS
Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly.
* Added IRS to logging backend
* Forward declared shared memory for irs
8 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
8 years ago
Lioncash
067e34798b
common/logging: Amend documentation comments
Multi-line doc comments still need the '<' after the ///, otherwise it's
treated as a regular comment and makes the original doc comment broken
in viewers, IDEs, etc. While we're at it, also fix some typos in the
comments.
8 years ago
Lioncash
4209a71953
common/logging/filter: Replace C-style case with C++ static_cast
8 years ago
Lioncash
ed8b4ac2b4
common/logging/filter: Make constructor explicit
Implicit conversions aren't desirable here.
8 years ago
Lioncash
2c16d2ccdd
logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
The previous form of initializing done here is a C-ism, an empty set of
braces is sufficient for initializing (and doesn't potentially cause
missing brace warnings, given the first member of the struct is a COORD
struct).
8 years ago
Lioncash
e6a87798b9
logging/backend: Use const reference to refer to log filter
The filter is returned via const reference, so this was making a
pointless copy of the entire filter every time a message was being
pushed into the logger instance.
8 years ago
Lioncash
5415ccb7da
common/logging: Add missing service log categories
These weren't added when the services were introduced.
8 years ago
Lioncash
705c5b6166
service: Add usb services
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
8 years ago
Lioncash
ed0e62fe9e
service: Add arp services
Adds the basic skeleton of the arp services based off the information
provided by Switch Brew.
8 years ago
Lioncash
6ac24e4e5a
service: Add migration services
Adds the basic skeleton for the mig:usr service based off information
provided by Switch Brew.
8 years ago
Lioncash
f29d848665
logging/log: Remove incorrect description in PCV doc comment
PCV isn't the parental control service.
8 years ago
Lioncash
4d9067936c
service: Add psc services
Adds the basic skeleton for the psc services based off the information
provided by Switch Brew.
8 years ago
Lioncash
a267a3cc08
service: Add capture services
Adds the basic skeleton for the capture services based off information
provided by Switch Brew.
8 years ago
Lioncash
2635578300
service: Add bpc and pcv services
Adds the basic skeleton for the remaining pcv-related services based off
information on Switch Brew.
8 years ago
Zach Hilman
b10c0d291f
Remove files that are not used
8 years ago
Lioncash
bdeda001bc
service: Add fgm services
Adds the basic skeleton for the fgm services based off the information
provided by Switch Brew.
8 years ago
Lioncash
e136d94655
service: Add the pcie service
Adds the basic skeleton of the pcie service based off information on
Switch Brew.
8 years ago
Tobias
1e25018638
Port #3758 from Citra ( #852 ): Add missing std::string import in text_formatter
8 years ago
Lioncash
cbefbc3c60
service: Add wlan services
Adds the basic skeleton for the wlan services based off the information
on Switch Brew.
8 years ago
Lioncash
82ef74be0b
service: Add btm services
Adds the skeleton for the btm services based off the information on
Switch Brew.
8 years ago
Lioncash
db0eb8968d
service: Add ncm services
Adds the basic skeleton for the ncm services based off information on
Switch Brew.
8 years ago
Lioncash
3d1b71b0a8
service: Add mii services
Adds the skeleton for the mii services based off information provided by
Switch Brew
8 years ago
Lioncash
171f57b364
service: Add nfc services
Adds the skeleton of the nfc service based off the information provided
on Switch Brew.
8 years ago
Lioncash
995ca4edd0
service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode
Implements these functions according to the information available on
Switch Brew.
8 years ago
Lioncash
6116b53dfb
service: Add ldn services
Adds ldn services based off information provided by Switch Brew.
8 years ago
Lioncash
e107471e08
logging/filter: Use std::string_view in ParseFilterString()
Allows avoiding constructing std::string instances, since this only
reads an arbitrary sequence of characters.
We can also make ParseFilterRule() internal, since it doesn't depend on
any private instance state of Filter
8 years ago
Lioncash
aa199be9d0
logging/backend: Add missing standard includes
A few inclusions were being satisfied indirectly. To prevent breakages
in the future, include these directly.
8 years ago
Lioncash
943584ff42
logging/backend: Use std::string_view in RemoveBackend() and GetBackend()
These can just use a view to a string since its only comparing against
two names in both cases for matches. This avoids constructing
std::string instances where they aren't necessary.
8 years ago
Lioncash
d284e38814
externals: update fmt to version 5.1.0
Previously, we were on 4.1.0, which was a major version behind.
8 years ago
James Rowe
9e5bc967de
Logging: Dump all logs in the queue on close in debug mode
8 years ago
James Rowe
ada0d38ca9
Logging: Don't lock the queue for the duration of the write
8 years ago
bunnei
0afb4ff542
Fix build and address review feedback
8 years ago
James Rowe
7af1a786d5
Add configurable logging backends
8 years ago
James Rowe
d74d2a77cb
Update clang format
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
mailwl
7dee92618f
Service/MM: add service and stub some functions
8 years ago
mailwl
3c612dea08
Service/BCAT: add module and services
8 years ago
Lioncash
ea0bac3599
log: Remove old logging macros and functions
Now that the old macros are no longer used, we can remove all functionality related to them.
8 years ago
David Marcec
2810310018
Switched to NGLOG_WARNING
8 years ago
David Marcec
6f6cac9366
Added PREPO to logging backend, Removed comments from SaveReportWithUser
8 years ago
David Marcec
9591689dbc
GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.
8 years ago
James Rowe
b957a3647a
Update fmtlib to fix msvc warnings
Additionally, when updating fmtlib, there was a change in fmtlib broke
how the old logging macro was overloaded, so this works around that by
just naming the fmtlib macro impl something different
8 years ago
Daniel Lim Wee Soong
145a4c3c2a
logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADIC
Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it.
8 years ago
bunnei
f5c2d62b3a
service: Add NFP module interface.
service: Initialize NFP service.
Log: Add NFP service as a log subtype.
8 years ago
N00byKing
e57ba11168
log.h: Change comment from citra to yuzu
8 years ago