Files
RobustToolbox/Robust.Shared/Log/ILogManager.cs

28 lines
743 B
C#

using System.Collections.Generic;
namespace Robust.Shared.Log
{
/// <summary>
/// Manages logging sawmills.
/// </summary>
/// <seealso cref="ISawmill"/>
[NotContentImplementable]
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; }
}
}