mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:21:31 +00:00
Created process.log.new (markdown)
parent
8cc304424b
commit
79b29b6d66
28
process.log.new.md
Normal file
28
process.log.new.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
* **Description**: When a supervised process writes to its *stdout/stderr*, it will raise this event.
|
||||||
|
* **Subscribers**: [ConsoleLogsHandler](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/ConsoleLogsHandler)
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"key": "process.log.new",
|
||||||
|
"intent": "event",
|
||||||
|
"scope": "broadcast"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
| Parameter | Type | Required | Description |
|
||||||
|
| ------------ |:--------:|:------------------:| --------------------------- |
|
||||||
|
| *stdout* | `string` | :heavy_check_mark: | Latest log entries from *stdout*. |
|
||||||
|
| *stderr* | `number` | :heavy_check_mark: | Latest log entries from *stderr* |
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
**Example**:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"key": "process.log.new",
|
||||||
|
"intent": "event",
|
||||||
|
"scope": "broadcast",
|
||||||
|
"stderr": " * Serving Flask app...",
|
||||||
|
"stdout": " * Serving Flask app..."
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user