mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
35 lines
688 B
C#
35 lines
688 B
C#
|
using Verse;
|
|||
|
|
|||
|
namespace RJW_Genes
|
|||
|
{
|
|||
|
internal class ModLog
|
|||
|
{
|
|||
|
public static string ModId => "RJW-Genes";
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Logs the given message with [SaveStorage.ModId] appended.
|
|||
|
/// </summary>
|
|||
|
public static void Error(string message)
|
|||
|
{
|
|||
|
Log.Error($"[{ModId}] {message}");
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Logs the given message with [SaveStorage.ModId] appended.
|
|||
|
/// </summary>
|
|||
|
public static void Message(string message)
|
|||
|
{
|
|||
|
Log.Message($"[{ModId}] {message}");
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Logs the given message with [SaveStorage.ModId] appended.
|
|||
|
/// </summary>
|
|||
|
public static void Warning(string message)
|
|||
|
{
|
|||
|
Log.Warning($"[{ModId}] {message}");
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|