API Reference@grafana/runtimelogWarning

logWarning() function

logWarning() function

Log a message at WARNING level. Depending on configuration might be forwarded to backend and logged to stdout or sent to Sentry

Signature

export declare function logWarning(message: string, contexts?: Contexts): void;

Import

import { logWarning } from '@grafana/runtime';

Parameters

Parameter Type Description
message string
contexts Contexts

Returns:

void