summaryrefslogtreecommitdiffstats
path: root/src/common/logging/log.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-3/+2
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-01-10logging/log.h: move enum class formatter to a separate file ...liushuyu1-15/+1
... to common/logging/formatter.h
2022-01-09logging/log: use `underlying_type` instead of hardcoding typesliushuyu1-2/+4
2022-01-08logging: adapt to changes in fmt 8.1liushuyu1-1/+14
2021-10-02common/logging: Reduce scope of fmt includeameerj1-1/+1
2021-10-02common/logging: Move Log::Entry declaration to a separate headerameerj1-0/+4
This reduces the load of requiring to include std::chrono in all files which include log.h
2021-06-13common: logging: Restructure backend codeMorph1-119/+1
2021-04-15common/log: Move Log namespace into the Common namespaceLioncash1-14/+20
Forgot to move this over when I moved the rest of the source files with lacking namespaces over.
2021-04-09bgtc: Update to 12.x and implement OpenTaskServiceMorph1-0/+1
2020-11-19hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.bunnei1-0/+1
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
2020-01-23common/logging: don't use regex for path trimmingBreadFish641-12/+21
2019-09-22log: Add logging class for Cheat EngineZach Hilman1-0/+1
This is better than just using something like Common.Filesystem or Common.Memory
2019-02-12logging: Add Vulkan backend logging class typeReinUsesLisp1-0/+1
2018-10-24logging/backend: Add missing services to the log filtersLioncash1-0/+2
Just a few overlooked services.
2018-10-21service: Add skeleton for psm serviceZach Hilman1-0/+1
Seems to be the power controller. Listed in switchbrew under the category PTM services.
2018-09-24Stubbed IRS (#1349)David1-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
2018-09-04common/logging: Amend documentation commentsLioncash1-5/+5
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.
2018-08-08common/logging: Add missing service log categoriesLioncash1-0/+8
These weren't added when the services were introduced.
2018-08-07service: Add usb servicesLioncash1-0/+1
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
2018-08-05service: Add arp servicesLioncash1-0/+1
Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
2018-08-02service: Add migration servicesLioncash1-0/+1
Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
2018-08-02logging/log: Remove incorrect description in PCV doc commentLioncash1-1/+1
PCV isn't the parental control service.
2018-08-02service: Add psc servicesLioncash1-0/+1
Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
2018-08-01service: Add capture servicesLioncash1-0/+1
Adds the basic skeleton for the capture services based off information provided by Switch Brew.
2018-08-01service: Add bpc and pcv servicesLioncash1-0/+2
Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew.
2018-08-01Remove files that are not usedZach Hilman1-0/+1
2018-07-31service: Add fgm servicesLioncash1-0/+1
Adds the basic skeleton for the fgm services based off the information provided by Switch Brew.
2018-07-31service: Add the pcie serviceLioncash1-0/+1
Adds the basic skeleton of the pcie service based off information on Switch Brew.
2018-07-29service: Add wlan servicesLioncash1-0/+1
Adds the basic skeleton for the wlan services based off the information on Switch Brew.
2018-07-29service: Add btm servicesLioncash1-0/+1
Adds the skeleton for the btm services based off the information on Switch Brew.
2018-07-27service: Add ncm servicesLioncash1-0/+1
Adds the basic skeleton for the ncm services based off information on Switch Brew.
2018-07-27service: Add mii servicesLioncash1-0/+1
Adds the skeleton for the mii services based off information provided by Switch Brew
2018-07-27service: Add nfc servicesLioncash1-0/+1
Adds the skeleton of the nfc service based off the information provided on Switch Brew.
2018-07-27service/lbl: Implement EnableVrMode, DisableVrMode and GetVrModeLioncash1-0/+1
Implements these functions according to the information available on Switch Brew.
2018-07-26service: Add ldn servicesLioncash1-0/+1
Adds ldn services based off information provided by Switch Brew.
2018-07-18externals: update fmt to version 5.1.0Lioncash1-1/+1
Previously, we were on 4.1.0, which was a major version behind.
2018-07-03Rename logging macro back to LOG_*James Rowe1-7/+7
2018-06-05Service/MM: add service and stub some functionsmailwl1-0/+1
2018-05-28Service/BCAT: add module and servicesmailwl1-0/+1
2018-04-27log: Remove old logging macros and functionsLioncash1-35/+0
Now that the old macros are no longer used, we can remove all functionality related to them.
2018-04-27Switched to NGLOG_WARNINGDavid Marcec1-1/+1
2018-04-23GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.David Marcec1-0/+1
2018-04-06Update fmtlib to fix msvc warningsJames Rowe1-3/+5
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
2018-04-03logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADICDaniel Lim Wee Soong1-2/+8
Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it.
2018-03-30service: Add NFP module interface.bunnei1-0/+1
service: Initialize NFP service. Log: Add NFP service as a log subtype.
2018-03-26log.h: Change comment from citra to yuzuN00byKing1-1/+1
2018-03-23Service/SSL: add ssl servicemailwl1-0/+1
2018-03-22Remove dependency chronoDaniel Lim Wee Soong1-1/+0
Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now
2018-03-22Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong1-1/+32
Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used.
2018-03-22Service/spl: add module and servicesmailwl1-0/+1
2018-03-20Service: add fatal:u, fatal:p servicesmailwl1-0/+1
2018-02-20Service/AOC: stub ListAddOnContent functionmailwl1-0/+1
2018-02-19logging: Add category for Friend service.bunnei1-0/+1
2018-02-15log: Add logging category for NS services.bunnei1-0/+1
2018-02-05logger: Add Time service logging category.bunnei1-0/+1
2018-02-05logger: Add SET service logging category.bunnei1-10/+8
2018-02-05logger: Add PCTL service logging category.bunnei1-0/+1
2018-02-05logger: Add LM service logging category.bunnei1-0/+1
2018-02-05logger: Add APM service logging category.bunnei1-0/+1
2018-02-05logger: Add NIFM service logging category.bunnei1-0/+1
2018-02-05logger: Add VI service logging category.bunnei1-0/+1
2018-02-04logger: Add AM service logging category.bunnei1-0/+1
2018-02-04logger: Add "account" service logging category.bunnei1-0/+1
2018-01-25audout:u OpenAudioOut and IAudioOut (#138)st4rk1-0/+1
* Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad
2018-01-21Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114)David1-0/+1
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0
2018-01-17loggin: Add IPC logging category.bunnei1-0/+1
2017-10-23logging: Rename category "Core_ARM11" to "Core_ARM".bunnei1-1/+1
2017-10-15hle: Initial implementation of NX service framework and IPC.bunnei1-1/+1
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei1-21/+0
2017-07-10logging: Add WebService as a log cateogry.bunnei1-0/+1
2017-07-07Implement basic virtual Room support based on enet (#2803)B3n301-0/+1
* Added support for network with ENet lib, connecting is possible, but data can't be sent, yet. * fixup! Added support for network with ENet lib, * fixup! CLang * fixup! Added support for network with ENet lib, * fixup! Added support for network with ENet lib, * fixup! Clang format * More fixups! * Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Clang again * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
2017-03-01Input: add device and factory templatewwylele1-0/+1
2017-02-21HW: add AES engine & implement AES-CCMwwylele1-0/+1
2017-02-14added http service enum to the log.h filenoah the goodra1-0/+1
2016-12-30Service/NFC: stub GetTagInRangeEventmailwl1-0/+1
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
2016-12-12csnd:SND reformat source codemailwl1-0/+1
2016-11-30Set client SDK version to Service APIsmailwl1-3/+2
2016-11-25MIC_U: Stub service funcionsmailwl1-0/+1
2016-10-02Update the stub code of BOSSJamePeng1-0/+1
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-64/+72
2016-05-07AudioCore: SDL2 SinkMerryMage1-1/+2
2016-04-08cecd:u: stub GetCecStateAbbreviated (#1648)mailwl1-1/+1
2016-04-02Dummy implementation dlp:SRVR Service.exhalatio1-0/+1
2016-03-31cecd:u: stub GetCecInfoEventHandle, GetChangeStateEventHandlemailwl1-0/+1
2016-03-27frd:u: Initial stub some functionsmailwl1-0/+1
2016-03-14Reorganize the ndm service path for dummy implement functionJamePeng1-0/+1
SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now!
2016-02-26Initial implementation ir:usermailwl1-0/+1
2016-02-21AudioCore: Skeleton ImplementationMerryMage1-0/+2
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation.
2015-11-23Services/Cam: Added new log type and camera enums from 3dbrew.Subv1-0/+1
Followup to #1102 Original author @mailwl
2015-10-04Implement gdbstubpolaris-1-0/+1
2015-09-20Implement gdbstubpolaris-1-0/+1
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner1-8/+7
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot1-4/+0
2015-06-12Services: Continue separation of services into their own folderspurpasmart961-2/+3
2015-05-22Service::Y2R: Support for grayscale decoding of specific formatsYuri Kunde Schlesner1-0/+1
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R. Currently only the Y (luma) channel is used, so the results don't contain color. This will be added in a later PR at some point. This is enough to get all currently know Moflex videos to decode. (Some don't display on-screen due to seemingly unrelated reasons.) Thanks to @archshift for doing the initial implementation which I cleaned up and then fixed the 8x8 block mode.
2015-05-12Common: Remove async loggingYuri Kunde Schlesner1-5/+1
It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.)
2015-04-03Services: Stubs and minor changespurpasmart961-0/+2
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift1-0/+1
2015-02-22Added information reporting from ThrowFatalErrorarchshift1-0/+1
This was RE'd from the errdisp applet.
2015-02-08Services: Stub some functionspurpasmart961-0/+1
2015-02-07Fix a wrong file name in a commentchinhodado1-1/+1
2015-01-10Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift1-16/+7
2015-01-07CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv1-0/+1
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
2014-12-31SOC_U: Preliminary implementation of sockets.Subv1-0/+1
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
2014-12-21License changepurpasmart961-1/+1
2014-12-13New logging systemYuri Kunde Schlesner1-0/+115