UNPKG

1.21 kBTypeScriptView Raw
1import { Logger } from "@atomist/skill-logging";
2export declare function wrapAuditLogger(context: {
3 eventId?: string;
4 correlationId: string;
5 workspaceId: string;
6}, labels?: Record<string, any>): Logger & {
7 url: string;
8};
9/**
10 * Print the debug level message to stdout
11 *
12 * @param message The message to print
13 * @param optionalParams Optional params to pass to the logger
14 */
15export declare function debug(message: string, ...optionalParams: any[]): void;
16/**
17 * Print the info level message to stdout
18 *
19 * @param message The message to print
20 * @param optionalParams Optional params to pass to the logger
21 */
22export declare function info(message: string, ...optionalParams: any[]): void;
23/**
24 * Print the warn level message to stdout
25 *
26 * @param message The message to print
27 * @param optionalParams Optional params to pass to the logger
28 */
29export declare function warn(message: string, ...optionalParams: any[]): void;
30/**
31 * Print the error level message to stdout
32 *
33 * @param message The message to print
34 * @param optionalParams Optional params to pass to the logger
35 */
36export declare function error(message: string, ...optionalParams: any[]): void;
37//# sourceMappingURL=log.d.ts.map
\No newline at end of file