Synced
EditorConsole
Section titled “EditorConsole”
- Owns one editor’s bounded Console history, current diagnostics, grouping, and Play Mode clearing policy.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Editor.Diagnostics.IEditorConsole, Inno.Core.Logging.ILogSink, Inno.Core.Diagnostics.IDiagnosticSink, System.IDisposable
Inherits: object
Project: Inno.Editor.Diagnostics
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Diagnostics.EditorConsole : Inno.Editor.Diagnostics.IEditorConsole, Inno.Core.Logging.ILogSink, Inno.Core.Diagnostics.IDiagnosticSink, System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | EditorConsole.Constructor | Creates a Console service that observes one editor Play Mode controller. |
| Methods | EditorConsole.Capture | Captures an immutable snapshot containing both individual occurrences and global groups. |
| Methods | EditorConsole.Clear (Method) | Removes retained logs while keeping currently reported issues visible until their owners resolve them. |
| Methods | EditorConsole.Clear(Inno.Core.Diagnostics.DiagnosticSource) | Removes the current diagnostic report for one producer. |
| Methods | EditorConsole.Dispose | Detaches this service and releases its subscriptions. |
| Methods | EditorConsole.Receive | Appends one asynchronously dispatched log entry. |
| Methods | EditorConsole.Replace | Replaces the complete current diagnostic report for one producer. |
| Methods | EditorConsole.Start | Attaches this service to the process logging, diagnostic, and Play Mode sources. |
| Properties | EditorConsole.capacity | Gets or sets the maximum number of ordinary log occurrences retained in memory. |
| Properties | EditorConsole.clearOnPlay | Gets or sets whether ordinary Console logs are cleared when a new Play Mode request begins. Current diagnostics remain visible because they represent active compiler and subsystem state. |