Files
tbd-station-14/Content.Shared/Administration/Logs/SharedAdminLogManager.cs
Leon Friedrich 828b1f2044 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>
2025-09-05 14:22:49 +02:00

25 lines
621 B
C#

using Content.Shared.Database;
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
}
public virtual void Add(LogType type, ref LogStringHandler handler)
{
// noop
}
}