UNPKG

openam-agent-custom

Version:

Customized ForgeRock AM Policy Agent for Node.js from Zoltan Tarcsay

14 lines (13 loc) 403 B
import * as winston from 'winston'; export interface LoggerOptions { json?: boolean; prettyPrint?: boolean; format?: any; } /** * Creates a new winston Logger with specific formatting * @example * var logger = createLogger('info', 'myLogger'); * logger.info('hello world!'); */ export declare function createLogger(level?: string, id?: string, options?: LoggerOptions): winston.Logger;