MiniLogger.st
changeset 24559 4fa0f7bad264
parent 24508 0b2cc77b316f
child 24776 d375feebf938
--- a/MiniLogger.st	Tue Aug 20 09:44:49 2019 +0200
+++ b/MiniLogger.st	Tue Aug 20 09:47:10 2019 +0200
@@ -175,7 +175,7 @@
     with %4: caller/originator 
     with %5: message"
     
-    ^ LogFormat ? '%1 [%2] (%3): %5'
+    ^ LogFormat ? '%3 %1 [%2]: %5'
 
     "
      MiniLogger logFormat:'%1 [%2]: %5'.
@@ -254,6 +254,10 @@
     "will be used for the log message"
     
     ^ TimestampFormat ? '%(year)-%(mon)-%(day) %h:%m:%s.%i'.
+
+    "
+     Timestamp now printStringFormat:(self timestampFormat)
+    "
 !
 
 timestampFormat:aTimestampFormatString