mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 17:15:25 +00:00
45 lines
543 B
TypeScript
45 lines
543 B
TypeScript
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* NewGoConsolePrinter Function
|
||
|
|
*/
|
||
|
|
export function NewGoConsolePrinter(): GoConsolePrinter {
|
||
|
|
return new GoConsolePrinter();
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
*/
|
||
|
|
export class GoConsolePrinter {
|
||
|
|
|
||
|
|
|
||
|
|
// Constructor of GoConsolePrinter
|
||
|
|
constructor() {}
|
||
|
|
/**
|
||
|
|
* Log Method
|
||
|
|
*/
|
||
|
|
public Log(msg: string): void {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Warn Method
|
||
|
|
*/
|
||
|
|
public Warn(msg: string): void {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Error Method
|
||
|
|
*/
|
||
|
|
public Error(msg: string): void {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|