comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/Device.d @ 18:735224fcc45f

redirected all printings to DwtLogger
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 09:57:53 +0100
parents 950d84783eac
children 9f4c18c268b2
comparison
equal deleted inserted replaced
17:6f068362a363 18:735224fcc45f
885 if (regions !is 0) string ~= String_valueOf(regions) ~ " Region(s), "; 885 if (regions !is 0) string ~= String_valueOf(regions) ~ " Region(s), ";
886 if (textLayouts !is 0) string ~= String_valueOf(textLayouts) ~ " TextLayout(s), "; 886 if (textLayouts !is 0) string ~= String_valueOf(textLayouts) ~ " TextLayout(s), ";
887 if (transforms !is 0) string ~= String_valueOf(transforms) ~ " Transforms(s), "; 887 if (transforms !is 0) string ~= String_valueOf(transforms) ~ " Transforms(s), ";
888 if (string.length !is 0) { 888 if (string.length !is 0) {
889 string = string.substring (0, string.length - 2); 889 string = string.substring (0, string.length - 2);
890 getDwtLogger().error ( "{}", string); 890 getDwtLogger().error ( __FILE__, __LINE__, "{}", string);
891 } 891 }
892 for (int i=0; i<errors.length; i++) { 892 for (int i=0; i<errors.length; i++) {
893 if (errors [i] !is null) ExceptionPrintStackTrace( errors [i]); 893 if (errors [i] !is null) ExceptionPrintStackTrace( errors [i]);
894 } 894 }
895 } 895 }