Files
RobustToolbox/Robust.Shared.Utility/Log/ILogManager.cs
PJB3005 b7a3526131 Move RHI to its own project
Move some of Robust.Shared to a new project so it can be depended upon without adding longer dependency chains.
2025-10-07 18:18:48 +02:00

27 lines
713 B
C#

using System.Collections.Generic;
namespace Robust.Shared.Log
{
/// <summary>
/// Manages logging sawmills.
/// </summary>
/// <seealso cref="ISawmill"/>
public interface ILogManager
{
/// <summary>
/// The "root" sawmill every other sawmill is parented to.
/// </summary>
ISawmill RootSawmill { get; }
/// <summary>
/// Gets the sawmill with the specified name. Creates a new one if necessary.
/// </summary>
ISawmill GetSawmill(string name);
/// <summary>
/// Gets a list of all currently created sawmills.
/// </summary>
IEnumerable<ISawmill> AllSawmills { get; }
}
}