diff dwt/internal/gdip/native.d @ 332:1ee938a6e02e

Tango updates, removing trace prints and added prints via Logger
author Frank Benoit <benoit@tionex.de>
date Sun, 01 Feb 2009 19:40:09 +0100
parents 41a9fce66f7f
children
line wrap: on
line diff
--- a/dwt/internal/gdip/native.d	Tue Jan 27 10:40:55 2009 +0100
+++ b/dwt/internal/gdip/native.d	Sun Feb 01 19:40:09 2009 +0100
@@ -14,7 +14,7 @@
 
 import dwt.internal.win32.WINTYPES;
 import tango.sys.SharedLib : SharedLib;
-import tango.util.log.Trace;
+import dwt.dwthelper.utils;
 
 extern(Windows):
 
@@ -1681,11 +1681,11 @@
         foreach( inout s; symbols ){
             *s.symbol = lib.getSymbol( s.name.ptr );
             if( s.symbol is null ){
-                Trace.formatln("gdiplus.dll: Symbol '{}' not found", s.name );
+                getDwtLogger.error("gdiplus.dll: Symbol '{}' not found", s.name );
             }
         }
     } else {
-        Trace.formatln("Could not load the library gdiplus.dll");
+        getDwtLogger.error("Could not load the library gdiplus.dll");
     }
 }