#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Wed, 29 Jan 2020 14:59:16 +0100
changeset 25211 755d30f833cb
parent 25210 672a4cdd0524
child 25212 af30e58b9fad
#UI_ENHANCEMENT by cg class: Class changed: #logFacility
Class.st
--- a/Class.st	Wed Jan 29 14:16:29 2020 +0100
+++ b/Class.st	Wed Jan 29 14:59:16 2020 +0100
@@ -1981,6 +1981,7 @@
     "Created: / 18-07-2011 / 09:14:38 / cg"
 ! !
 
+
 !Class methodsFor:'adding & removing'!
 
 removeFromSystem
@@ -4114,21 +4115,23 @@
      if the class is anywhere in the base ST/X system, 'STX' is returned as facility.
      Otherwise, the last component of the package name is returned."
      
-    |pkg|
+    |pkg facility|
 
     ((pkg := self package ? '???') startsWith:'stx:') ifTrue:[
-        ^ 'STX'
+        facility := 'stx'
+    ] ifFalse:[
+        facility :=  pkg copyFrom:((pkg lastIndexOf:$:) + 1)
     ].
-    ^ pkg copyFrom:((pkg lastIndexOf:$:) + 1)
-
-    "
-     Array logFacility
-     Array class logFacility
+    ^ facility,'.',self nameWithoutPrefix
+
+    "
+     Array logFacility           
+     Array class logFacility     
      Class new logFacility
      Behavior new logFacility
 
-     Expecco::Browser logFacility
-     Workflow::Executor logFacility
+     Expecco::Browser logFacility  
+     Workflow::Executor logFacility 
 
      Array package
      Array class package