Mercurial > projects > doodle
diff doodle/core/logging.d @ 101:523269b36711
Update to dmd 2.050
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Thu, 28 Oct 2010 16:35:11 +1030 |
parents | c63719604adb |
children | 7abaf5c3959f |
line wrap: on
line diff
--- a/doodle/core/logging.d Mon Oct 18 18:10:02 2010 +1030 +++ b/doodle/core/logging.d Thu Oct 28 16:35:11 2010 +1030 @@ -2,7 +2,6 @@ private { import std.stdio; - import std.typecons; import std.traits; } @@ -52,8 +51,7 @@ } private { - mixin(defineEnum!("Severity", - "TRACE", "INFO", "MESSAGE", "WARNING", "ERROR", "FATAL")); + enum Severity { TRACE, INFO, MESSAGE, WARNING, ERROR, FATAL } string severityString(in Severity s) { switch (s) {