Class LogMessage
A log message to be sent to the Pulumi engine.
Inherited Members
Namespace: Pulumi.Experimental.Provider
Assembly: Pulumi.dll
Syntax
public sealed class LogMessage
Constructors
View SourceLogMessage(LogSeverity, string, string?, int, bool)
Declaration
public LogMessage(LogSeverity severity, string message, string? urn = null, int streamId = 0, bool ephemeral = false)
Parameters
Type | Name | Description |
---|---|---|
LogSeverity | severity | |
string | message | |
string | urn | |
int | streamId | |
bool | ephemeral |
Fields
View SourceEphemeral
Optional value indicating whether this is a status message.
Declaration
public readonly bool Ephemeral
Field Value
Type | Description |
---|---|
bool |
Message
The contents of the logged message.
Declaration
public readonly string Message
Field Value
Type | Description |
---|---|
string |
Severity
The logging level of this message.
Declaration
public readonly LogSeverity Severity
Field 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 readonly int StreamId
Field 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 readonly string? Urn
Field Value
Type | Description |
---|---|
string |