Rejig LogStringHandler (#30706)

* Rejig LogStringHandler

* Fix session logs

* Fix properly

* comments

* IAsType support

* Fix mind logs

* Fix mind logging AGAIN

---------

Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
This commit is contained in:
Leon Friedrich
2025-09-06 00:22:49 +12:00
committed by GitHub
parent f45bf4590f
commit 828b1f2044
17 changed files with 413 additions and 198 deletions

View File

@@ -5,6 +5,13 @@ namespace Content.Shared.Administration.Logs;
[Virtual]
public class SharedAdminLogManager : ISharedAdminLogManager
{
[Dependency] private readonly IEntityManager _entityManager = default!;
public IEntityManager EntityManager => _entityManager;
public bool Enabled { get; protected set; }
public virtual string ConvertName(string name) => name;
public virtual void Add(LogType type, LogImpact impact, ref LogStringHandler handler)
{
// noop