summaryrefslogtreecommitdiff
path: root/src/common/logging (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: Enable warnings as errorsGravatar Lioncash2020-11-021-2/+0
| | | | Cleans up common so that we can enable warnings as errors.
* common/fileutil: Convert namespace to Common::FSGravatar Lioncash2020-08-161-1/+1
| | | | | | | | | | | | Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
* logging/backend: Make use of designated initializersGravatar Lioncash2020-08-032-21/+15
| | | | Same behavior, less code.
* common/logging: don't use regex for path trimmingGravatar BreadFish642020-01-233-14/+23
|
* common/logging: Silence no return value warningsGravatar ReinUsesLisp2019-11-151-2/+6
|
* log: Add logging class for Cheat EngineGravatar Zach Hilman2019-09-212-0/+2
| | | This is better than just using something like Common.Filesystem or Common.Memory
* general: Use deducation guides for std::lock_guard and std::unique_lockGravatar Lioncash2019-04-011-3/+3
| | | | | | | Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
* logging/backend: Make time_origin a class variable instead of a local staticGravatar Lioncash2019-03-021-2/+1
| | | | | | | | | Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class.
* logging/backend: Move CreateEntry into the Impl classGravatar Lioncash2019-03-022-29/+26
| | | | | This function is only ever used within this source file and makes it easier to remove static state in the following change.
* Adressed review commentsGravatar B3n302019-02-151-1/+2
|
* threadsafe_queue: Add WaitIfEmpty and use it in loggingGravatar B3n302019-02-152-13/+8
|
* logging: Add Vulkan backend logging class typeGravatar ReinUsesLisp2019-02-122-0/+2
|
* Backport review comment from citra-emu/citra#4418Gravatar Tobias2018-12-071-2/+2
| | | | Original reason: As Windows multi-byte character codec is unspecified while we always assume std::string uses UTF-8 in our code base, this can output gibberish when the string contains non-ASCII characters. ::OutputDebugStringW combined with Common::UTF8ToUTF16W is preferred here.
* Merge pull request #1441 from CarlKenner/DebuggerLogGravatar bunnei2018-11-052-2/+23
|\ | | | | logging: Add DebuggerBackend for logging to Visual Studio
| * logging: Add DebuggerBackend for logging to Visual StudioGravatar Carl Kenner2018-10-072-2/+23
| |
* | logging/backend: Add missing services to the log filtersGravatar Lioncash2018-10-232-0/+5
| | | | | | | | Just a few overlooked services.
* | service: Add skeleton for psm serviceGravatar Zach Hilman2018-10-201-0/+1
|/ | | | Seems to be the power controller. Listed in switchbrew under the category PTM services.
* text_formatter: Avoid unnecessary string temporary creation in PrintMessage()Gravatar Lioncash2018-10-041-1/+1
| | | | | | | | | 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.
* Stubbed IRS (#1349)Gravatar David2018-09-232-0/+2
| | | | | | | | | | * 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
* Port #4182 from Citra: "Prefix all size_t with std::"Gravatar fearlessTobi2018-09-154-5/+6
|
* common/logging: Amend documentation commentsGravatar Lioncash2018-09-042-6/+6
| | | | | | | 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.
* common/logging/filter: Replace C-style case with C++ static_castGravatar Lioncash2018-09-041-1/+1
|
* common/logging/filter: Make constructor explicitGravatar Lioncash2018-09-041-1/+1
| | | | Implicit conversions aren't desirable here.
* logging/text_formatter: Use empty braces for initializing ↵Gravatar Lioncash2018-08-211-1/+1
| | | | | | | | | 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).
* logging/backend: Use const reference to refer to log filterGravatar Lioncash2018-08-131-2/+3
| | | | | | 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.
* common/logging: Add missing service log categoriesGravatar Lioncash2018-08-082-0/+16
| | | | These weren't added when the services were introduced.
* service: Add usb servicesGravatar Lioncash2018-08-072-0/+2
| | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew.
* service: Add arp servicesGravatar Lioncash2018-08-042-0/+2
| | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-042-0/+2
|\ | | | | XCI and Encrypted NCA Support
| * Remove files that are not usedGravatar Zach Hilman2018-08-012-0/+2
| |
* | Merge pull request #898 from lioncash/migGravatar bunnei2018-08-032-0/+2
|\ \ | | | | | | service: Add migration services
| * | service: Add migration servicesGravatar Lioncash2018-08-022-0/+2
| | | | | | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
* | | logging/log: Remove incorrect description in PCV doc commentGravatar Lioncash2018-08-011-1/+1
| | | | | | | | | | | | PCV isn't the parental control service.
* | | service: Add psc servicesGravatar Lioncash2018-08-012-0/+2
|/ / | | | | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
* | Merge pull request #888 from lioncash/capsGravatar bunnei2018-08-012-0/+2
|\ \ | | | | | | service: Add capture services
| * | service: Add capture servicesGravatar Lioncash2018-08-012-0/+2
| |/ | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew.
* / service: Add bpc and pcv servicesGravatar Lioncash2018-08-012-0/+4
|/ | | | | Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew.
* Merge pull request #875 from lioncash/fgmGravatar bunnei2018-07-312-0/+2
|\ | | | | service: Add fgm services
| * service: Add fgm servicesGravatar Lioncash2018-07-312-0/+2
| | | | | | | | | | Adds the basic skeleton for the fgm services based off the information provided by Switch Brew.
* | service: Add the pcie serviceGravatar Lioncash2018-07-312-0/+2
|/ | | | | Adds the basic skeleton of the pcie service based off information on Switch Brew.
* Port #3758 from Citra (#852): Add missing std::string import in text_formatterGravatar Tobias2018-07-301-0/+1
|
* Merge pull request #857 from lioncash/wlanGravatar bunnei2018-07-302-0/+2
|\ | | | | service: Add wlan services
| * service: Add wlan servicesGravatar Lioncash2018-07-282-0/+2
| | | | | | | | | | Adds the basic skeleton for the wlan services based off the information on Switch Brew.
* | service: Add btm servicesGravatar Lioncash2018-07-282-0/+2
|/ | | | | Adds the skeleton for the btm services based off the information on Switch Brew.
* Merge pull request #847 from lioncash/ncmGravatar bunnei2018-07-282-0/+2
|\ | | | | service: Add ncm services
| * service: Add ncm servicesGravatar Lioncash2018-07-272-0/+2
| | | | | | | | | | Adds the basic skeleton for the ncm services based off information on Switch Brew.
* | Merge pull request #846 from lioncash/miiGravatar bunnei2018-07-282-0/+2
|\ \ | |/ |/| service: Add mii services
| * service: Add mii servicesGravatar Lioncash2018-07-272-0/+2
| | | | | | | | | | Adds the skeleton for the mii services based off information provided by Switch Brew
* | Merge pull request #845 from lioncash/nfcGravatar bunnei2018-07-272-0/+2
|\ \ | | | | | | service: Add nfc services
| * | service: Add nfc servicesGravatar Lioncash2018-07-272-0/+2
| |/ | | | | | | | | Adds the skeleton of the nfc service based off the information provided on Switch Brew.