Lioncash
5508ceb0eb
lm: Implement SetDestination by doing nothing
This service function was likely intended to be a way to redirect where
the output of a log went. e.g. Firing a log over a network, dumping over
a tunneling session, etc.
Given we always want to see the log and not change its output. It's one
of the lucky service functions where the easiest implementation is to
just do nothing at all and return success.
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Lioncash
6784110323
lm: Use LOG_DEBUG for printing out trace logs
Using LOG_TRACE here isn't a good idea because LOG_TRACE is only enabled
when yuzu is compiled in debug mode. Debug mode is also quite slow, and
so we're potentially throwing away logging messages that can provide
value when trying to boot games.
7 years ago
Lioncash
1da6859863
lm: Handle threads and modules within the logger
The thread field serves to indicate which thread a log is related to and
provides the length of the thread's name, so we can print that out,
ditto for modules.
Now we can know what threads are potentially spawning off logging
messages (for example Lydie & Suelle bounces between MainThread and
LoadingThread when initializing the game).
7 years ago
Lioncash
732fe76a41
lm: Amend name of ILogger
Previously this was being registered with the name "Logger". While we're
at it, also change the name of the class to match it.
8 years ago
Lioncash
6570f0cd5c
lm: Move LM's class declaration into the cpp file
This isn't used directly outside of this translation unit, so we can
hide it from external use.
8 years ago
Lioncash
24db60566b
lm: Amend names of Initialize() in Logger and Initialize() in LM
Amends these to match the information on Switch Brew.
8 years ago
Lioncash
a35847e520
lm: Add missing function entry to Logger's function table
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
Lioncash
afe7828f4b
lm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
6d94dd21a5
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
mailwl
f22a8923cc
Service/lm: add support to multiline logs
8 years ago
bunnei
9f14ebbd89
logger: Add LM service logging category.
8 years ago
bunnei
e7bad17a87
lm: Ensure log string is non-empty before checking back().
8 years ago
bunnei
f328cb2c7c
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
427b97e60c
service: Fix all incorrect IPC response headers.
8 years ago
Subv
aec193732c
Services: Added a todo about returning interfaces as domain objects in lm, hid and time.
8 years ago
Subv
3541a04d4d
LM: Don't create an unnecessary port in Initialize.
8 years ago
bunnei
93e711daf1
lm: Minor logging fix to skip a byte.
8 years ago
bunnei
2d7ec3bbe0
lm: Fix IPC header for Initialize.
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
Subv
9de1929da9
Services: Allow lm to log single-character messages.
8 years ago
Subv
fd93b1e0ef
IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
8 years ago
bunnei
718c77f373
lm: Assert on unsupported multi-message.
8 years ago
bunnei
1941e021bc
lm: Improve Log() to format a useful string.
8 years ago
bunnei
82fb80da76
service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.
8 years ago
bunnei
bb50d29ca9
lm: Implement lm::Initialize and Logger::log.
8 years ago
bunnei
be299c7636
hle: Implement ConvertSessionToDomain, various cleanups.
8 years ago
bunnei
9ce5a90aa6
hle: Add service stubs for apm and appletOE.
8 years ago
bunnei
2ea8867549
hle: Initial implementation of NX service framework and IPC.
8 years ago