using log4net;
namespace CalamityMod
{
public static partial class CalamityUtils
{
///
/// Log out formatted message for IL edit Failure
/// Format: IL edit "name" failed! reason
///
/// Logger to use
/// Name of the IL Edit
/// Reason why this IL Edit has failed
public static void ILFailure(this ILog logger, string name, string reason)
{
logger.Warn($"IL edit \"{name}\" failed! {reason}");
}
}
}