Create a production-ready logger with JSON transport and optional remote shipping.
Security Warning: Logs structured JSON to stdout by default; when an endpoint
is configured, entries are batched and sent to the remote service. Ensure the
remote endpoint uses HTTPS in production.
Create a production-ready logger with JSON transport and optional remote shipping.
Security Warning: Logs structured JSON to stdout by default; when an endpoint is configured, entries are batched and sent to the remote service. Ensure the remote endpoint uses HTTPS in production.