API Reference@grafana/datagetLogLevelFromKey

getLogLevelFromKey() function

getLogLevelFromKey() function

Signature

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

Import

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

Parameters

ParameterTypeDescription
keystring | number

Returns:

LogLevel