pulumi/pkg
Alex Clemmer dea68b8b37 Implement status sinks
This commit reverts most of #1853 and replaces it with functionally
identical logic, using the notion of status message-specific sinks.

In other words, where the original commit implemented ephemeral status
messages by adding an `isStatus` parameter to most of the logging
methdos in pulumi/pulumi, this implements ephemeral status messages as a
parallel logging sink, which emits _only_ ephemeral status messages.

The original commit message in that PR was:

> Allow log events to be marked "status" events
>
> This commit will introduce a field, IsStatus to LogRequest. A "status"
> logging event will be displayed in the Info column of the main
> display, but will not be printed out at the end, when resource
> operations complete.
>
> For example, for complex resource initialization, we'd like to display
> a series of intermediate results: [1/4] Service object created, for
> example. We'd like these to appear in the Info column, but not at the
> end, where they are not helpful to the user.
2018-08-31 15:56:53 -07:00
..
apitype Don't try to convert a checkpoint's Latest field if nil (#1800) 2018-08-20 13:47:49 -07:00
backend Implement status sinks 2018-08-31 15:56:53 -07:00
diag Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Implement status sinks 2018-08-31 15:56:53 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
resource Implement status sinks 2018-08-31 15:56:53 -07:00
testing Allow skipping refresh step in integration tests (#1852) 2018-08-31 11:34:26 -05:00
tokens Remove dead code (#1833) 2018-08-28 14:43:41 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Support project config keys in templates and -c (#1841) 2018-08-30 14:56:13 -07:00