eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MiniLogger::Severity':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Severity (private in MiniLogger

This class is only visible from within MiniLogger.

Inheritance:

   Object
   |
   +--Magnitude
      |
      +--MiniLogger::Severity

Package:
stx:libbasic
Category:
System-Debugging-Support
Owner:
MiniLogger
Author:
cg

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]


Related information:



Instance protocol:

accessing
o  name

o  value

arithmetic
o  + aNumber
return a higher severity

Usage example(s):

     MiniLogger severityINFO + 1  
     MiniLogger severityTRACE to:MiniLogger severityFATAL do:[:each| Transcript showCR:each].
     MiniLogger severityFATAL downTo:MiniLogger severityTRACE do:[:each| Transcript showCR:each].

comparing
o  < aSeverity
(comment from inherited method)
Compare the receiver with the argument and return true if the
receiver is less than the argument. Otherwise return false.

o  = aSeverity
(comment from inherited method)
Compare the receiver with the argument and return true if the
receiver is equal to the argument. Otherwise return false.

o  hash
instances, for which #= answers true must answer the same hash

initialization
o  initializeWithName: aString value: anInteger

printing & storing
o  displayOn: aStream
append a printed representation of the receiver to the argument, aStream.
for developers

o  printOn: aStream
append a printed representation of the receiver to the argument, aStream



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:31:22 GMT