We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331ad6c commit cffd39cCopy full SHA for cffd39c
yarn-project/foundation/src/log/gcloud-logger-config.ts
@@ -13,10 +13,6 @@ const GOOGLE_CLOUD_TRACE_SAMPLED = 'logging.googleapis.com/trace_sampled';
13
*/
14
export const GoogleCloudLoggerConfig = {
15
messageKey: 'message',
16
- // Same as pino.stdTimeFunctions.isoTime but uses "timestamp" key instead of "time"
17
- timestamp(): string {
18
- return `,"timestamp":"${new Date(Date.now()).toISOString()}"`;
19
- },
20
formatters: {
21
log(object: Record<string, unknown>): Record<string, unknown> {
22
// Add trace context attributes following Cloud Logging structured log format described
0 commit comments