backport 2008-07-25T22:16:59Z!kailoran@gmail.com to 1.4 (allow debug-level logging in wesnoth_editor)
This commit is contained in:
parent
17b3d72feb
commit
1f8f9671d2
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ int main(int argc, char** argv)
|
|||
if (s == "error") severity = 0;
|
||||
else if (s == "warning") severity = 1;
|
||||
else if (s == "info") severity = 2;
|
||||
else if (s == "debug") severity = 3;
|
||||
else {
|
||||
std::cerr << "unknown debug level: " << s << '\n';
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue