You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PMG is an interactive tool. We support multiple interactivity modes such as `silent`, `verbose` etc. to meet different developer experience needs. As such, we need to standardize the UI, UX and interactive messaging guidance for developers.
4
+
5
+
## Messaging
6
+
7
+
Two types of messages to users are supported:
8
+
9
+
1. UI messages
10
+
2. Logs
11
+
12
+
### UI messages
13
+
14
+
UI messages are displayed in the user interface, currently in the terminal. Following types of messages are supported:
15
+
16
+
1.**Status updates** - Meant for showing the stage or status of the workflow.
17
+
2.**Error messages** - Meant for showing fatal error messages
18
+
19
+
| Type | Mode | Show? |
20
+
| ------ | ------- | ----- |
21
+
| Status | Silent | No |
22
+
| Status | Verbose | Yes |
23
+
| Error | Silent | Yes |
24
+
| Error | Verbose | Yes |
25
+
26
+
### Logs
27
+
28
+
Logs are by default for inspection and debugging purposes. They are not shown by default but can be configured through verbosity levels or logging to files. Consider logs as something meant for use only when there is an unexpected behavior.
0 commit comments