mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| 
 | |
| class Logger
 | |
|   # Logging severity.
 | |
|   module Severity
 | |
|     # Low-level information, mostly for developers.
 | |
|     DEBUG = 0
 | |
|     # Generic (useful) information about system operation.
 | |
|     INFO = 1
 | |
|     # A warning.
 | |
|     WARN = 2
 | |
|     # A handleable error condition.
 | |
|     ERROR = 3
 | |
|     # An unhandleable error that results in a program crash.
 | |
|     FATAL = 4
 | |
|     # An unknown message that should always be logged.
 | |
|     UNKNOWN = 5
 | |
|   end
 | |
| end
 | 
