formatting changes
This commit is contained in:
		
							parent
							
								
									3cb9c1373d
								
							
						
					
					
						commit
						36f97355a4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@ const { createLogger, format, transports, addColors } = require("winston");
 | 
			
		|||
const { combine, timestamp, printf, colorize } = format;
 | 
			
		||||
 | 
			
		||||
const fmt = printf(({ level, message, timestamp }) => {
 | 
			
		||||
  return timestamp + ' ' + level + ' ' + message;
 | 
			
		||||
  return '[' + timestamp + '] ' + level + ' ' + message;
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const customLevels = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue