Show / Hide Table of Contents

Class LogMessage

A log message to be sent to the Pulumi engine.

Inheritance
object
LogMessage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Experimental.Provider
Assembly: Pulumi.dll
Syntax
public sealed class LogMessage

Constructors

View Source

LogMessage(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 Source

Ephemeral

Optional value indicating whether this is a status message.

Declaration
public readonly bool Ephemeral
Field Value
Type Description
bool
View Source

Message

The contents of the logged message.

Declaration
public readonly string Message
Field Value
Type Description
string
View Source

Severity

The logging level of this message.

Declaration
public readonly LogSeverity Severity
Field Value
Type Description
LogSeverity
View Source

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.

View Source

Urn

The (optional) resource urn this log is associated with.

Declaration
public readonly string? Urn
Field Value
Type Description
string
  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.