mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
21 lines
508 B
C#
21 lines
508 B
C#
using System.Runtime.CompilerServices;
|
|
using Serilog.Events;
|
|
|
|
namespace Robust.Shared.Log
|
|
{
|
|
public static class LogExt
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
public static LogLevel ToRobust(this LogEventLevel level)
|
|
{
|
|
return (LogLevel) level;
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
public static LogEventLevel ToSerilog(this LogLevel level)
|
|
{
|
|
return (LogEventLevel) level;
|
|
}
|
|
}
|
|
}
|