UNPKG

azure-pipelines-logging

Version:
7 lines (6 loc) 600 B
import { Action, Area, NoProperties, Properties } from "./internal/command"; import { FormatWithMessage, FormatWithoutMessage } from "./internal/format"; export declare function command<Ar extends Area, Ac extends Action<Ar>, Props extends Properties<Ar, Ac>>(area: Ar, action: Ac, ...properties: Props extends NoProperties ? [] : [Props]): (message: string) => string; export declare function format(format: FormatWithoutMessage): () => string; export declare function format(format: FormatWithMessage): (...message: readonly string[]) => string; export declare function log(message: string): void;