Skip to content

Commit 4cda442

Browse files
committed
Preventing KSPe (new) thread safe logging on MM.
1 parent 0b053a5 commit 4cda442

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Source/ModuleManager/CustomConfigsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ internal void Start()
4646
}
4747
}
4848

49-
private static readonly KSPe.Util.Log.Logger log = KSPe.Util.Log.Logger.CreateForType<CustomConfigsManager>();
49+
private static readonly KSPe.Util.Log.Logger log = KSPe.Util.Log.Logger.CreateForType<CustomConfigsManager>(false, false);
5050
private static void Log(String s)
5151
{
5252
log.info(s);

Source/ModuleManager/Logging/ModLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace ModuleManager.Logging
77
{
88
public class ModLogger : IBasicLogger
99
{
10-
internal static readonly K.Logger LOG = K.Logger.CreateForType<ModuleManager>();
10+
internal static readonly K.Logger LOG = K.Logger.CreateForType<ModuleManager>(false, false); // No need to use thread safe logging. Yet.
1111
internal static readonly ModLogger Instance = new ModLogger(); // For legacy code
1212

1313
private delegate void LogMethod(string message, params object[] @parms);

Source/ModuleManager/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
//[assembly: AssemblyDelaySign(false)]
2727
//[assembly: AssemblyKeyFile("")]
2828

29-
[assembly: KSPAssemblyDependency("KSPe", 2, 1)]
29+
[assembly: KSPAssemblyDependency("KSPe", 2, 2)]
3030

0 commit comments

Comments
 (0)