mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Merge pull request #183 from Therzok/patch-1
Deduplicate StdOutLogListener implementation
This commit is contained in:
1 file changed
+1
-2
@@ -9,8 +9,7 @@ namespace BepInEx.Core.Logging
|
||||
{
|
||||
public void LogEvent(object sender, LogEventArgs eventArgs)
|
||||
{
|
||||
var log = $"[{eventArgs.Level,-7}:{((ILogSource) sender).SourceName,10}] {eventArgs.Data}\r\n";
|
||||
ConsoleManager.StandardOutStream?.Write(log);
|
||||
ConsoleManager.StandardOutStream?.Write(eventArgs.ToStringLine());
|
||||
}
|
||||
|
||||
public void Dispose() { }
|
||||
|
||||
Reference in new issue
Block a user