|
Class: Severity (private in MiniLogger
This class is only visible from within
MiniLogger.
Object
|
+--Magnitude
|
+--MiniLogger::Severity
- Package:
- stx:libbasic
- Category:
- System-Debugging-Support
- Owner:
- MiniLogger
- Author:
- cg
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:]
accessing
-
name
-
-
value
-
arithmetic
-
+ 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
-
< 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.
-
= 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.
-
hash
-
instances, for which #= answers true must answer the same hash
initialization
-
initializeWithName: aString value: anInteger
-
printing & storing
-
displayOn: aStream
-
append a printed representation of the receiver to the argument, aStream.
for developers
-
printOn: aStream
-
append a printed representation of the receiver to the argument, aStream
|