mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 10:09:36 +00:00 
			
		
		
		
	Update logger function
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
module.exports = function (area, text){
 | 
					module.exports = function logger(area, text){
 | 
				
			||||||
    let date = new Date();
 | 
					    let date = new Date();
 | 
				
			||||||
    console.log('[' + area + '] – ' + date.toISOString());
 | 
					    console.log('[' + area + '] – ' + date.toISOString());
 | 
				
			||||||
    if(text)  console.log(text + '\n');
 | 
					    if(text)  console.log(text + '\n');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user