Method: Betterlog::Log::Severity#hash
- Defined in:
- lib/betterlog/log/severity.rb
#hash ⇒ Integer
Returns the hash value corresponding to the severity name symbol.
This method provides a hash representation of the internal symbol identifier for the severity level, which is used for consistent identification and comparison operations within the logging system.
165 166 167 |
# File 'lib/betterlog/log/severity.rb', line 165 def hash @name.hash end |