Files
RobustToolbox/Robust.Shared/Log/ILogHandler.cs
Acruid 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

22 lines
702 B
C#

using Serilog.Events;
namespace Robust.Shared.Log
{
/// <summary>
/// Formats and prints a log message to an output source.
/// </summary>
public interface ILogHandler
{
/// <summary>
/// Logs a message to.. somewhere.
/// You choose that somewhere.
/// </summary>
/// <remarks>
/// This method can be called from multiple threads so make sure it's thread safe!
/// </remarks>
/// <param name="sawmillName">The name of the sawmill that this message was raised on.</param>
/// <param name="message">The message to log.</param>
void Log(string sawmillName, LogEvent message);
}
}