HotReloadLogging.cs 611 B

1234567891011121314151617
  1. namespace SingularityGroup.HotReload {
  2. /// <summary>
  3. /// Utility class to set the log level of the Hot Reload package
  4. /// </summary>
  5. public static class HotReloadLogging {
  6. /// <summary>
  7. /// Sets the log level for logs inside the Hot Reload package
  8. /// The default log level is <see cref="LogLevel.Info"/>
  9. /// </summary>
  10. /// <remarks>
  11. /// To see more detailed logs, set the log level to <see cref="LogLevel.Debug"/>
  12. /// </remarks>
  13. public static void SetLogLevel(LogLevel level) {
  14. Log.minLevel = level;
  15. }
  16. }
  17. }