mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add log level to log window
This commit is contained in:
parent
84e98e0315
commit
4f9cfd3b45
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ namespace Dalamud.Interface
|
|||
public void Emit(LogEvent logEvent)
|
||||
{
|
||||
var message = logEvent.RenderMessage(_formatProvider);
|
||||
OnLogLine?.Invoke(this, DateTimeOffset.Now.ToString() + " " + message);
|
||||
OnLogLine?.Invoke(this, $"[{DateTimeOffset.Now.ToString()}][{logEvent.Level}] {message}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue