MiniLogger.st
changeset 20487 371f3e3a0f3b
parent 20485 8eb2274f91ae
child 20490 f1c27208211f
--- a/MiniLogger.st	Fri Sep 30 17:26:46 2016 +0200
+++ b/MiniLogger.st	Fri Sep 30 17:51:44 2016 +0200
@@ -403,6 +403,13 @@
     "Modified: / 02-12-2014 / 10:54:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+debug: format with: arg1 with: arg2 with:arg3
+    DEBUG value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: DEBUG originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:54:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 enter: message
     ENTER value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: ENTER originator: thisContext sender receiver
@@ -424,6 +431,13 @@
     "Modified: / 02-12-2014 / 10:54:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+enter: format with: arg1 with: arg2 with:arg3
+    ENTER value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: ENTER originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:54:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 error: message
     ERROR value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: ERROR originator: thisContext sender receiver
@@ -445,6 +459,13 @@
     "Modified: / 02-12-2014 / 10:54:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+error: format with: arg1 with: arg2 with:arg3
+    ERROR value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: ERROR originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:54:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 fatal: message
     FATAL value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: FATAL originator: thisContext sender receiver
@@ -466,6 +487,13 @@
     "Modified: / 02-12-2014 / 10:54:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+fatal: format with: arg1 with: arg2 with:arg3
+    FATAL value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: FATAL originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:54:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 info: message
     INFO value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: INFO originator: thisContext sender receiver
@@ -487,6 +515,13 @@
     "Modified: / 02-12-2014 / 10:55:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+info: format with: arg1 with: arg2 with:arg3
+    INFO value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: INFO originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:55:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 leave: message
     LEAVE value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: LEAVE originator: thisContext sender receiver
@@ -508,6 +543,13 @@
     "Modified: / 02-12-2014 / 10:55:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+leave: format with: arg1 with: arg2 with:arg3
+    LEAVE value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: LEAVE originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:55:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 trace0: message
     TRACE0 value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: TRACE0 originator: thisContext sender receiver
@@ -529,6 +571,13 @@
     "Modified: / 02-12-2014 / 10:55:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+trace0: format with: arg1 with: arg2 with:arg3
+    TRACE0 value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: TRACE0 originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:55:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 trace1: message
     TRACE1 value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: TRACE1 originator: thisContext sender receiver
@@ -550,6 +599,13 @@
     "Modified: / 02-12-2014 / 10:55:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+trace1: format with: arg1 with: arg2 with:arg3
+    TRACE1 value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: TRACE1 originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:55:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 trace2: message
     TRACE2 value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: TRACE2 originator: thisContext sender receiver
@@ -571,6 +627,13 @@
     "Modified: / 02-12-2014 / 10:55:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+trace2: format with: arg1 with: arg2 with:arg3
+    TRACE2 value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: TRACE2 originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:55:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 trace3: message
     TRACE3 value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: TRACE3 originator: thisContext sender receiver
@@ -592,6 +655,13 @@
     "Modified: / 02-12-2014 / 10:56:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+trace3: format with: arg1 with: arg2 with:arg3
+    TRACE3 value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: TRACE3 originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:56:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 trace: message
     TRACE value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: TRACE originator: thisContext sender receiver
@@ -613,6 +683,13 @@
     "Modified: / 02-12-2014 / 10:56:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+trace: format with: arg1 with: arg2 with:arg3
+    TRACE value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith: arg1 with: arg2 with:arg3) severity: TRACE originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:56:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 warning: message
     WARN value < Threshold value ifTrue:[ ^ self ].
     self log: message severity: WARN originator: thisContext sender receiver
@@ -627,11 +704,18 @@
     "Modified: / 02-12-2014 / 10:56:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
-warning: format with: arg1 with: arg2
+warning:format with:arg1 with:arg2
     WARN value < Threshold value ifTrue:[ ^ self ].
     self log: (format bindWith: arg1 with: arg2) severity: WARN originator: thisContext sender receiver
 
     "Modified: / 02-12-2014 / 10:56:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+warning:format with:arg1 with:arg2 with:arg3
+    WARN value < Threshold value ifTrue:[ ^ self ].
+    self log: (format bindWith:arg1 with:arg2 with:arg3) severity: WARN originator: thisContext sender receiver
+
+    "Modified: / 02-12-2014 / 10:56:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !MiniLogger class methodsFor:'private'!