mirror of
				https://github.com/nttgin/BGPalerter.git
				synced 2024-05-19 06:50:08 +00:00 
			
		
		
		
	wip
This commit is contained in:
		
							
								
								
									
										17
									
								
								reports/reportFile.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								reports/reportFile.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
import Report from "./report";
 | 
			
		||||
import nodemailer from "nodemailer";
 | 
			
		||||
 | 
			
		||||
export default class ReportEmail extends Report {
 | 
			
		||||
 | 
			
		||||
    constructor(channels, env) {
 | 
			
		||||
        super(channels, env);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    report = (message, content) => {
 | 
			
		||||
 | 
			
		||||
        this.logger.log({
 | 
			
		||||
            level: 'verbose',
 | 
			
		||||
            message: content.message
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user