{"version":3,"file":"NoopLogger.js","sourceRoot":"","sources":["../../src/NoopLogger.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAKH,MAAa,UAAU;IACrB,IAAI,CAAC,UAAqB,IAAS,CAAC;IACpC,OAAO;QACL,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AALD,gCAKC;AAEY,QAAA,WAAW,GAAG,IAAI,UAAU,EAAE,CAAC;AAE5C;;GAEG;AACH,SAAgB,gBAAgB;IAC9B,OAAO,mBAAW,CAAC;AACrB,CAAC;AAFD,4CAEC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { Logger } from './types/Logger';\nimport type { LogRecord } from './types/LogRecord';\n\nexport class NoopLogger implements Logger {\n emit(_logRecord: LogRecord): void {}\n enabled(): boolean {\n return false;\n }\n}\n\nexport const NOOP_LOGGER = new NoopLogger();\n\n/**\n * Create a no-op Logger\n */\nexport function createNoopLogger(): Logger {\n return NOOP_LOGGER;\n}\n"]}