dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
14 lines (13 loc) • 388 B
TypeScript
export declare module Logger {
const SOAP_XML_LOG: string;
const REQUEST_INFO_LOG: string;
enum Level {
DEBUG = 0,
INFO = 1,
ERROR = 2,
FATAL = 3,
}
function logToFile(log: string, filePath: string): void;
function setLogLevel(log: string, level: Level): void;
function log(log: string, message: string, level?: Level): void;
}