logging: shorten output of logLevelToString()
authorAdam Simpkins <simpkins@fb.com>
Wed, 21 Jun 2017 20:23:28 +0000 (13:23 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 21 Jun 2017 20:36:58 +0000 (13:36 -0700)
commit60ab0b97abf9d70bde04edbd755d9176a7707967
tree0dc4542bc0aaba935832025f008b22563a1e7f16
parentfc84e02a134e25cb8f417f8f9d8629e00bfb48e7
logging: shorten output of logLevelToString()

Summary:
Remove the "LogLevel::" prefix from the logLevelToString() output.

This makes the output shorter and easier to read, and makes it simpler to write
LogFormatter implementations that want a short human-readable level
description.  Callers can always add a "LogLevel::" prefix on their own if
desired.

Reviewed By: wez

Differential Revision: D5288601

fbshipit-source-id: 046579ebdda76842d5a44c33d68941d73dd81162
folly/experimental/logging/LogLevel.cpp
folly/experimental/logging/test/LogLevelTest.cpp
folly/experimental/logging/test/StandardLogHandlerTest.cpp