aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging/backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #4451 from slashiee/extended-loggingbunnei2020-11-231-2/+12
|\ | | | | logging/settings: Increase maximum log size to 100 MB and add extended logging option
| * logging/settings: Increase maximum log size to 100 MB and add extended ↵M&M2020-08-241-2/+12
| | | | | | | | | | | | | | logging option The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session. This commit also fixes a few errors that are present in the general debug menu.
* | hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled ↵bunnei2020-11-191-0/+1
| | | | | | | | | | | | functions. - Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
* | common: Enable warnings as errorsLioncash2020-11-021-2/+0
|/ | | | Cleans up common so that we can enable warnings as errors.
* logging/backend: Make use of designated initializersLioncash2020-08-031-11/+11
| | | | Same behavior, less code.
* common/logging: don't use regex for path trimmingBreadFish642020-01-231-1/+1
|
* common/logging: Silence no return value warningsReinUsesLisp2019-11-151-2/+6
|
* log: Add logging class for Cheat EngineZach Hilman2019-09-211-0/+1
| | | This is better than just using something like Common.Filesystem or Common.Memory
* general: Use deducation guides for std::lock_guard and std::unique_lockLioncash2019-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 staticLioncash2019-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 classLioncash2019-03-021-25/+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 commentsB3n302019-02-151-1/+2
|
* threadsafe_queue: Add WaitIfEmpty and use it in loggingB3n302019-02-151-13/+7
|
* logging: Add Vulkan backend logging class typeReinUsesLisp2019-02-121-0/+1
|
* Backport review comment from citra-emu/citra#4418Tobias2018-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/DebuggerLogbunnei2018-11-051-2/+9
|\ | | | | logging: Add DebuggerBackend for logging to Visual Studio
| * logging: Add DebuggerBackend for logging to Visual StudioCarl Kenner2018-10-071-2/+9
| |
* | logging/backend: Add missing services to the log filtersLioncash2018-10-231-0/+3
|/ | | | Just a few overlooked services.
* Stubbed IRS (#1349)David2018-09-231-0/+1
| | | | | | | | | | * 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::"fearlessTobi2018-09-151-1/+1
|
* logging/backend: Use const reference to refer to log filterLioncash2018-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 categoriesLioncash2018-08-081-0/+8
| | | | These weren't added when the services were introduced.
* service: Add usb servicesLioncash2018-08-071-0/+1
| | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew.
* service: Add arp servicesLioncash2018-08-041-0/+1
| | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* Merge pull request #849 from DarkLordZach/xcibunnei2018-08-041-0/+1
|\ | | | | XCI and Encrypted NCA Support
| * Remove files that are not usedZach Hilman2018-08-011-0/+1
| |
* | Merge pull request #898 from lioncash/migbunnei2018-08-031-0/+1
|\ \ | | | | | | service: Add migration services
| * | service: Add migration servicesLioncash2018-08-021-0/+1
| | | | | | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
* | | service: Add psc servicesLioncash2018-08-011-0/+1
|/ / | | | | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
* | Merge pull request #888 from lioncash/capsbunnei2018-08-011-0/+1
|\ \ | | | | | | service: Add capture services
| * | service: Add capture servicesLioncash2018-08-011-0/+1
| |/ | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew.
* / service: Add bpc and pcv servicesLioncash2018-08-011-0/+2
|/ | | | | Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew.
* Merge pull request #875 from lioncash/fgmbunnei2018-07-311-0/+1
|\ | | | | service: Add fgm services
| * service: Add fgm servicesLioncash2018-07-311-0/+1
| | | | | | | | | | Adds the basic skeleton for the fgm services based off the information provided by Switch Brew.
* | service: Add the pcie serviceLioncash2018-07-311-0/+1
|/ | | | | Adds the basic skeleton of the pcie service based off information on Switch Brew.
* Merge pull request #857 from lioncash/wlanbunnei2018-07-301-0/+1
|\ | | | | service: Add wlan services
| * service: Add wlan servicesLioncash2018-07-281-0/+1
| | | | | | | | | | Adds the basic skeleton for the wlan services based off the information on Switch Brew.
* | service: Add btm servicesLioncash2018-07-281-0/+1
|/ | | | | Adds the skeleton for the btm services based off the information on Switch Brew.
* Merge pull request #847 from lioncash/ncmbunnei2018-07-281-0/+1
|\ | | | | service: Add ncm services
| * service: Add ncm servicesLioncash2018-07-271-0/+1
| | | | | | | | | | Adds the basic skeleton for the ncm services based off information on Switch Brew.
* | Merge pull request #846 from lioncash/miibunnei2018-07-281-0/+1
|\ \ | |/ |/| service: Add mii services
| * service: Add mii servicesLioncash2018-07-271-0/+1
| | | | | | | | | | Adds the skeleton for the mii services based off information provided by Switch Brew
* | Merge pull request #845 from lioncash/nfcbunnei2018-07-271-0/+1
|\ \ | | | | | | service: Add nfc services
| * | service: Add nfc servicesLioncash2018-07-271-0/+1
| |/ | | | | | | | | Adds the skeleton of the nfc service based off the information provided on Switch Brew.
* / service/lbl: Implement EnableVrMode, DisableVrMode and GetVrModeLioncash2018-07-271-0/+1
|/ | | | | Implements these functions according to the information available on Switch Brew.
* service: Add ldn servicesLioncash2018-07-261-0/+1
| | | | Adds ldn services based off information provided by Switch Brew.
* logging/backend: Add missing standard includesLioncash2018-07-201-2/+3
| | | | | A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly.
* logging/backend: Use std::string_view in RemoveBackend() and GetBackend()Lioncash2018-07-201-10/+10
| | | | | | 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.
* Logging: Dump all logs in the queue on close in debug modeJames Rowe2018-07-151-1/+2
|
* Logging: Don't lock the queue for the duration of the writeJames Rowe2018-07-141-3/+5
|