Skip to content

Commit 6629c46

Browse files
committed
Update Logging.cs
1 parent 34b995c commit 6629c46

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ArchiSteamFarm/NLog/Logging.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ internal static void InitEmergencyLoggers() {
267267
}
268268

269269
// This is a temporary, bare, file-less configuration that must work until we're able to initialize it properly
270-
ConfigurationItemFactory.Default.ParseMessageTemplates = false;
270+
LogManager.Setup().SetupSerialization(static serialization => {
271+
serialization.ParseMessageTemplates(false);
272+
}
273+
);
271274

272275
LoggingConfiguration config = new();
273276

0 commit comments

Comments
 (0)