mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Don't remove #write from common_log_handler
This commit is contained in:
		
							parent
							
								
									24e0824a9b
								
							
						
					
					
						commit
						fb5ac9e0b6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -16,6 +16,10 @@ class Kemal::CommonLogHandler < Kemal::BaseLogHandler | |||
|     context | ||||
|   end | ||||
| 
 | ||||
|   def write(message) | ||||
|     @handler << message | ||||
|   end | ||||
| 
 | ||||
|   private def elapsed_text(elapsed) | ||||
|     minutes = elapsed.total_minutes | ||||
|     return "#{minutes.round(2)}m" if minutes >= 1 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue