Class LogRequest
A log message to be sent to the Pulumi engine.
Inherited Members
Namespace: Pulumi.Experimental
Assembly: Pulumi.dll
Syntax
public sealed class LogRequest
Constructors
View SourceLogRequest(LogSeverity, string, Urn?, int, bool)
Declaration
public LogRequest(LogSeverity severity, string message, Urn? urn = null, int streamId = 0, bool ephemeral = false)
Parameters
| Type | Name | Description |
|---|---|---|
| LogSeverity | severity | |
| string | message | |
| Urn? | urn | |
| int | streamId | |
| bool | ephemeral |
Properties
View SourceEphemeral
Optional value indicating whether this is a status message.
Declaration
public bool Ephemeral { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Message
The contents of the logged message.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Severity
The logging level of this message.
Declaration
public LogSeverity Severity { get; }
Property Value
| Type | Description |
|---|---|
| LogSeverity |
StreamId
The (optional) stream id that a stream of log messages can be associated with. This allows clients to not have to buffer a large set of log messages that they all want to be conceptually connected. Instead the messages can be sent as chunks (with the same stream id) and the end display can show the messages as they arrive, while still stitching them together into one total log message.
Declaration
public int StreamId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
0 means do not associate with any stream.
Urn
The (optional) resource urn this log is associated with.
Declaration
public Urn? Urn { get; }
Property Value
| Type | Description |
|---|---|
| Urn? |