mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Add milliseconds to logging
This patch adds milliseconds to the time string used for logging. This helps when debugging some timing issues and should have no real negative side effect.
This commit is contained in:
		
							parent
							
								
									89eb857c14
								
							
						
					
					
						commit
						91fa78d740
					
				@ -11,7 +11,7 @@ class Logger {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  get timestamp() {
 | 
					  get timestamp() {
 | 
				
			||||||
    return date.format(new Date(), 'YYYY-MM-DD HH:mm:ss')
 | 
					    return date.format(new Date(), 'YYYY-MM-DD HH:mm:ss.SSS')
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  get levelString() {
 | 
					  get levelString() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user