This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datagetLogLevelFromKey

getLogLevelFromKey() function

getLogLevelFromKey() function

Signature

export declare function getLogLevelFromKey(key: string | number): LogLevel;

Import

import { getLogLevelFromKey } from '@grafana/data';

Parameters

Parameter Type Description
key string | number

Returns:

LogLevel