LegacyLogger: Be consistent about converting log levels to int
authorBryan Davis <bd808@wikimedia.org>
Fri, 30 Sep 2016 23:54:45 +0000 (17:54 -0600)
committerBryan Davis <bd808@wikimedia.org>
Fri, 30 Sep 2016 23:54:45 +0000 (17:54 -0600)
commit20829231758e96f6e9a39a86ef6ffac38641f4df
tree98e0d27186827ef1d6b05c8e7fc0ffd1571b5c90
parent094105f017a132c5f79c0c5f0227b47db854e5cc
LegacyLogger: Be consistent about converting log levels to int

Normalize $level arguments to integers early to avoid confusion later
about what type the argument is.

Change-Id: I7305c0514f4383ec552afea2deb0e3fc6ba3fe8a
includes/debug/logger/LegacyLogger.php