using Verse;
namespace RJW_Genes
{
internal class ModLog
{
public static string ModId => "RJW-Genes";
///
/// Logs the given message with [SaveStorage.ModId] appended.
///
public static void Error(string message)
{
Log.Error($"[{ModId}] {message}");
}
///
/// Logs the given message with [SaveStorage.ModId] appended.
///
public static void Message(string message)
{
Log.Message($"[{ModId}] {message}");
}
///
/// Logs the given message with [SaveStorage.ModId] appended.
///
public static void Warning(string message)
{
Log.Warning($"[{ModId}] {message}");
}
public static void Debug(string message)
{
if (RJW_Genes_Settings.rjw_genes_detailed_debug)
{
Log.Message($"[{ModId}][debug] {message}");
}
}
}
}