Move Logger class to BepInEx.Logging

This commit is contained in:
ghorsington committed 2019-02-17 15:01:14 +02:00
1 parent 4824bb38b8
commit 65c07a3cb4
5 files changed
+5 -3

No files matched your search

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using BepInEx.Logging;
using BepInEx.Preloader.RuntimeFixes;
using Mono.Cecil;
+1
View File
@@ -8,6 +8,7 @@ using System.Text;
using BepInEx.Logging;
using UnityEngine;
using UnityInjector.ConsoleUtil;
using Logger = BepInEx.Logging.Logger;
namespace BepInEx.Bootstrap
{
+1
View File
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using BepInEx.Logging;
namespace BepInEx.Bootstrap
{
+1 -1
View File
@@ -14,7 +14,7 @@ namespace BepInEx
{
var metadata = MetadataHelper.GetMetadata(this);
Logger = BepInEx.Logger.CreateLogSource(metadata.Name);
Logger = Logging.Logger.CreateLogSource(metadata.Name);
}
}
}
+1 -2
View File
@@ -1,8 +1,7 @@
using System;
using System.Collections.Generic;
using BepInEx.Logging;
namespace BepInEx
namespace BepInEx.Logging
{
/// <summary>
/// A static <see cref="BaseLogger"/> instance.