<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/common/logging/filter.h, branch nx2</title>
<subtitle>Mirror of github.com/cira0100/Eglantine-public nx2, a fork of Djihads80/Eglantine.</subtitle>
<id>https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2</id>
<link rel='self' href='https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2'/>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/'/>
<updated>2026-03-12T17:29:15+00:00</updated>
<entry>
<title>[common/logging] Simplify logging logic and fix issues when logging before system is created (#3688)</title>
<updated>2026-03-12T17:29:15+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2026-03-12T17:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=395613b01f918b559f0a3b1718c78f81987c49d4'/>
<id>urn:sha1:395613b01f918b559f0a3b1718c78f81987c49d4</id>
<content type='text'>
- our logging code was bigger than spdlog itself, why???? just keep it simple
- fix issues when logging before logging system is even started
- removes the "initialized logging twice" issue
- removes uneeded indirection in file logging
- uses direct formatting instead of jumping hoopla-around the fmt::format() ressult
- code duplication and dead code removal as usual

I did explore dup2() but I think it's not worth the hassle
I did try `fwopen()` but it's better if things are just kept as-is.

there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file

now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING

Signed-off-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Reviewed-by: DraVee &lt;chimera@dravee.dev&gt;
Reviewed-by: CamilleLaVey &lt;camillelavey99@gmail.com&gt;
Co-authored-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Co-committed-by: lizzie &lt;lizzie@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>chore: make yuzu REUSE compliant</title>
<updated>2022-07-27T10:53:49+00:00</updated>
<author>
<name>Andrea Pappacoda</name>
<email>andrea@pappacoda.it</email>
</author>
<published>2022-05-15T00:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=6a2efdda2f7075331cab36901a30d511468f60e7'/>
<id>urn:sha1:6a2efdda2f7075331cab36901a30d511468f60e7</id>
<content type='text'>
[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 b2eb10382941bef0914f4a0a4685b9033440aa9f
</content>
</entry>
<entry>
<title>common: Reduce unused includes</title>
<updated>2022-03-19T06:23:33+00:00</updated>
<author>
<name>ameerj</name>
<email>52414509+ameerj@users.noreply.github.com</email>
</author>
<published>2022-03-19T03:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=582332d13f746e1f091a1b02bfeddefb92345d20'/>
<id>urn:sha1:582332d13f746e1f091a1b02bfeddefb92345d20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>common: logging: Restructure backend code</title>
<updated>2021-06-13T15:05:58+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-06-13T14:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=5c635f8d0912bf0c599fb5bc0e93b36f7c87b875'/>
<id>urn:sha1:5c635f8d0912bf0c599fb5bc0e93b36f7c87b875</id>
<content type='text'>
</content>
</entry>
<entry>
<title>common/log: Move Log namespace into the Common namespace</title>
<updated>2021-04-15T03:10:58+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2021-04-15T00:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=bb1bc3dd57d17bf4c132d41ed8f748f7d99e2f29'/>
<id>urn:sha1:bb1bc3dd57d17bf4c132d41ed8f748f7d99e2f29</id>
<content type='text'>
Forgot to move this over when I moved the rest of the source files with
lacking namespaces over.
</content>
</entry>
<entry>
<title>Port #4182 from Citra: "Prefix all size_t with std::"</title>
<updated>2018-09-15T13:21:06+00:00</updated>
<author>
<name>fearlessTobi</name>
<email>thm.frey@gmail.com</email>
</author>
<published>2018-09-15T13:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=1190ea6ddbbcabca5ac0ee73f940f509888f8673'/>
<id>urn:sha1:1190ea6ddbbcabca5ac0ee73f940f509888f8673</id>
<content type='text'>
</content>
</entry>
<entry>
<title>common/logging/filter: Replace C-style case with C++ static_cast</title>
<updated>2018-09-04T14:44:36+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-09-04T14:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=4209a71953d1f6f589cf16a3436914df7c20ac2d'/>
<id>urn:sha1:4209a71953d1f6f589cf16a3436914df7c20ac2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>common/logging/filter: Make constructor explicit</title>
<updated>2018-09-04T14:43:31+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-09-04T14:43:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=ed8b4ac2b44670439accefb0b676c6a33f176033'/>
<id>urn:sha1:ed8b4ac2b44670439accefb0b676c6a33f176033</id>
<content type='text'>
Implicit conversions aren't desirable here.
</content>
</entry>
<entry>
<title>logging/filter: Use std::string_view in ParseFilterString()</title>
<updated>2018-07-20T19:58:46+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-07-20T19:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=e107471e086fac395acc517a72cb7e4ac500e472'/>
<id>urn:sha1:e107471e086fac395acc517a72cb7e4ac500e472</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Logging: Dump all logs in the queue on close in debug mode</title>
<updated>2018-07-15T19:02:09+00:00</updated>
<author>
<name>James Rowe</name>
<email>jroweboy@gmail.com</email>
</author>
<published>2018-07-14T18:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=9e5bc967de72fb1f779d8a665710ec1604bedfb7'/>
<id>urn:sha1:9e5bc967de72fb1f779d8a665710ec1604bedfb7</id>
<content type='text'>
</content>
</entry>
</feed>
