RoR2-ChensHelpers

Contains simple and useful helpers for RoR2 mod creators to use. Mainly caters to Chen's mods.

View on GitHub

ChensHelpers

Chen.Helpers.LogHelpers

Log Class

Helper class for logging.
Its purpose is really to shorten the code when invoking it so that typing it would be fast and short.

public class Log

Inheritance System.Object 🡒 Log

Constructors  
Log(ManualLogSource) Constructor for the Log helper. Always assign this to a variable with an internal access modifier to keep it to the calling assembly’s scope.
Methods  
Debug(object) Log using the Debug format of BepInEx logger.
Error(object) Log using the Error format of BepInEx logger.
Info(object) Log using the Info format of BepInEx logger.
Message(object) Log using the Message format of BepInEx logger.
Warning(object) Log using the Warning format of BepInEx logger.