Construct a LogLevel from a string name.

Synopsis

Declared in <folly/logging/LogLevel.h>

LogLevel
stringToLogLevel(folly::StringPiece name);

Return Value

The LogLevel corresponding to the given name.

Parameters

Name

Description

name

The string name of the log level.

Created with MrDocs