logger mit Klasse initialisiert
authorfelix <felix@a944a559-bf0e-0410-8ddc-85264b264b6c>
Thu, 17 May 2007 14:22:41 +0000 (14:22 +0000)
committerfelix <felix@a944a559-bf0e-0410-8ddc-85264b264b6c>
Thu, 17 May 2007 14:22:41 +0000 (14:22 +0000)
git-svn-id: https://www.internetallee.de/svn/bytewurf@36 a944a559-bf0e-0410-8ddc-85264b264b6c

projekte/netzschalter/test/de/bytewurf/projekte/netzschalter/NetzdosenMockup.java

index a22b038..cb71e23 100644 (file)
@@ -60,9 +60,8 @@ public class NetzdosenMockup implements Netzdose {
        }
 
        public byte[] sendCommand(Command command) {
-               LogMediator.getInstance().log("Send Command: " + command.toString());
+               LogMediator.getInstance(this.getClass()).log("Send Command: " + command.toString());
                return command.getCommandBytes();
        }
-
        
 }