Open Droutin opened 3 weeks ago
Hello, how to pretty output the logs? I'm trying pino-pretty, but that isnt working. nx run api:start | pino-pretty \"[{severity}] {message}\"
nx run api:start | pino-pretty \"[{severity}] {message}\"
[[object Object]]: severity: "INFO" resource: { "type": "global" } logging.googleapis.com/labels: {} logging.googleapis.com/insertId: ".........0nnz8YXIh82If3n9RWuqhxi" message: "🚀 Application is running on: http://localhost:8000/api" logName: "pamapi"
You could try jq maybe?
jq
Hello, how to pretty output the logs? I'm trying pino-pretty, but that isnt working.
nx run api:start | pino-pretty \"[{severity}] {message}\"