Show / Hide Table of Contents

Class LogRequest

A log message to be sent to the Pulumi engine.

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

Constructors

View Source

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

Ephemeral

Optional value indicating whether this is a status message.

Declaration
public bool Ephemeral { get; }
Property Value
Type Description
bool
View Source

Message

The contents of the logged message.

Declaration
public string Message { get; }
Property Value
Type Description
string
View Source

Severity

The logging level of this message.

Declaration
public LogSeverity Severity { get; }
Property 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 int StreamId { get; }
Property 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 Urn? Urn { get; }
Property Value
Type Description
Urn?

Version 3.114.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.