@@ -70,6 +70,8 @@ logger.info('hello world')
70
70
logger .error ({ oops: ' hello!' }, ' error' )
71
71
```
72
72
73
+ ** NOTE** : The ` projectId ` string and ` resource ` object on the Logging instance are detected and set automatically 🎉
74
+
73
75
** Configuration**
74
76
` Cloud-Pine ` supports the following configuration:
75
77
@@ -111,17 +113,17 @@ Usage: cat log | cloud-pine --projectid someprojectid -l something=else -l servi
111
113
112
114
-n | --name Log Name. Default to Cloud_Pine
113
115
114
- -s | --sync Cloud Logging Mode. Sync will print to `stdout`
116
+ -s | --sync Cloud Logging Mode. Sync will print to `stdout`
115
117
meanwhile async will forward logs to Cloud Logging.
116
118
Default to true.
117
119
118
- -p | --projectid Google Cloud Project ID. Default to automatic
119
- detected resource or
120
+ -p | --projectid Google Cloud Project ID. Default to automatic
121
+ detected resource or
120
122
`GOOGLE_APPLICATION_CREDENTIALS`
121
123
122
124
-k | --key Path to key file
123
125
124
- -l | --labels Custom labels to be attached to the logging labels.
126
+ -l | --labels Custom labels to be attached to the logging labels.
125
127
Should be in the format `label=value`.
126
128
Can be used one or more times.
127
129
@@ -133,7 +135,7 @@ Usage: cat log | cloud-pine --projectid someprojectid -l something=else -l servi
133
135
Follows same pattern as `--labels`.
134
136
135
137
-i | --skip-init Skips identification of monitored resource, which
136
- will infer things like `project-id` and Monitored
138
+ will infer things like `project-id` and Monitored
137
139
Resource settings. Default to false.
138
140
```
139
141
0 commit comments