unnbound-logger-sdk
Version:
A structured logging library with TypeScript support using Pino. Provides consistent, well-typed logging with automatic logId, workflowId, traceId, and deploymentId tracking across operational contexts.
13 lines (12 loc) • 437 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.internal = exports.hidden = void 0;
const o = { _internal: true };
// Internal logs should be hidden in sandbox
// TODO: Find a better way to detect sandbox
if (process.env.UNNBOUND_IDLE_TIMEOUT)
o._hide = true;
const hidden = (data) => '_hide' in data && data._hide;
exports.hidden = hidden;
const internal = () => o;
exports.internal = internal;