Logged .NET events with the time they happened (#1042)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-10 19:05:41 +02:00
1 parent ca6ad6b1f0
commit 4616d1a4b2
12 files changed
+354 -17

No files matched your search

@@ -1,5 +1,14 @@
namespace AIStudio.Tools.Rust;
/// <summary>
/// A log event the Rust runtime writes to the log file.
/// </summary>
/// <param name="Timestamp">When the event happened, in the round-trip format of TerminalLogger.FormatTransportTimestamp, e.g., 2026-10-09T17:53:54.5629130+00:00. The Rust runtime logs the event with this time; when it cannot read it, the event shows the time it arrived instead.</param>
/// <param name="Level">The log level.</param>
/// <param name="Category">The category of the log event.</param>
/// <param name="Message">The log message.</param>
/// <param name="Exception">Optional exception message.</param>
/// <param name="StackTrace">Optional exception stack trace.</param>
public readonly record struct LogEventRequest(
string Timestamp,
string Level,