Fork me on GitHub

Module log

@pulumi/pulumi > log

Index

log/index.ts

function debug

debug(msg: string, resource?: resourceTypes.Resource, streamId?: undefined | number): Promise<void>

debug logs a debug-level message that is generally hidden from end-users.

function error

error(msg: string, resource?: resourceTypes.Resource, streamId?: undefined | number): Promise<void>

error logs a fatal error to indicate that the tool should stop processing resource operations immediately.

function hasErrors

hasErrors(): boolean

hasErrors returns true if any errors have occurred in the program.

function info

info(msg: string, resource?: resourceTypes.Resource, streamId?: undefined | number): Promise<void>

info logs an informational message that is generally printed to stdout during resource operations.

function warn

warn(msg: string, resource?: resourceTypes.Resource, streamId?: undefined | number): Promise<void>

warn logs a warning to indicate that something went wrong, but not catastrophically so.