Class DurableConsole
- Namespace
- Restate.Sdk
- Assembly
- Restate.Sdk.dll
A replay-aware console that suppresses output during journal replay. Checks the live replay state on each call so output resumes after replay completes.
public sealed class DurableConsole
- Inheritance
-
DurableConsole
- Inherited Members
Methods
Log(ref ReplayAwareInterpolatedStringHandler)
Writes an interpolated string to the console, suppressed during replay. Avoids allocations when suppressed.
public void Log(ref ReplayAwareInterpolatedStringHandler handler)
Parameters
Log(string)
Writes a message to the console, suppressed during replay.
public void Log(string message)
Parameters
messagestring