mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* 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.
22 lines
702 B
C#
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);
|
|
}
|
|
}
|