@ -71,10 +71,6 @@ public class DataStoreLoggerTarget : TargetWithLayout
Color = _config!.Colors[logLevel],
}
);
Debug.WriteLine(
$"--- [{logLevel.ToString()[..3]}] {message} - {logEvent.Exception?.Message ?? "no error"}"
#endregion
@ -699,7 +699,14 @@ public sealed class App : Application
{
var debugTarget = builder
.ForTarget("console")
.WriteTo(new DebuggerTarget { Layout = "${message}" })
.WriteTo(
new DebuggerTarget
Layout =
"[${level:format=TriLetter}] "
+ "${callsite:includeNamespace=false:captureStackTrace=false}: ${message}"
)
.WithAsync();
var fileTarget = builder