Mercurial > projects > dwt-linux
diff dwt/browser/Mozilla.d @ 361:4bffbf81e2d6
redirect direct prints to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 20 Mar 2009 21:00:06 +0100 |
parents | 8ebacc5c07dc |
children |
line wrap: on
line diff
--- a/dwt/browser/Mozilla.d Fri Mar 20 20:30:32 2009 +0100 +++ b/dwt/browser/Mozilla.d Fri Mar 20 21:00:06 2009 +0100 @@ -15,7 +15,6 @@ import dwt.dwthelper.utils; import tango.text.locale.Core; -import tango.io.Stdout; import tango.text.convert.Format; import tango.io.Console; import tango.sys.Environment; @@ -1442,7 +1441,7 @@ extern(D) static String error (int code, char[] file, int line) { - Stdout ("File: ")(file)(" Line: ")(line).newline; + getDwtLogger().info( "File: {} Line: {}", file, line); throw new DWTError ("XPCOM error " ~ Integer.toString(code)); //$NON-NLS-1$ }