{"version":3,"file":"logging.mjs","sources":["../../../../src/services/dataSource/logging.ts"],"sourcesContent":["import { type LogContext } from '@grafana/faro-web-sdk';\n\nimport { TracedError } from '../../utils/TracedError';\nimport { getLogger } from '../logging/registry';\n\nexport function logDataSourceInstanceError(message: string, error: unknown, context?: LogContext): void {\n  getLogger('grafana/runtime.plugins.datasource').logError(new TracedError(message, error), context);\n}\n"],"names":[],"mappings":";;;;AAKO,SAAS,0BAAA,CAA2B,OAAA,EAAiB,KAAA,EAAgB,OAAA,EAA4B;AACtG,EAAA,SAAA,CAAU,oCAAoC,EAAE,QAAA,CAAS,IAAI,YAAY,OAAA,EAAS,KAAK,GAAG,OAAO,CAAA;AACnG;;;;"}