@hpcc-js/comms
Version:
hpcc-js - Communications
55 lines (54 loc) • 1.54 kB
TypeScript
import { LogaccessServiceBase, WsLogaccess } from "./wsdl/ws_logaccess/v1.08/ws_logaccess.ts";
export { WsLogaccess };
export interface GetLogsExRequest {
audience?: string;
class?: string[];
workunits?: string;
message?: string;
processid?: string;
logid?: string;
threadid?: string;
timestamp?: string;
components?: string;
instance?: string;
StartDate?: Date;
EndDate?: Date;
LogLineStartFrom: number;
LogLineLimit: number;
}
export declare const enum LogType {
Disaster = "DIS",
Error = "ERR",
Warning = "WRN",
Information = "INF",
Progress = "PRO",
Metric = "MET"
}
export declare const enum TargetAudience {
Operator = "OPR",
User = "USR",
Programmer = "PRO",
Audit = "ADT"
}
export interface LogLine {
audience?: string;
class?: string;
workunits?: string;
message?: string;
processid?: number;
logid?: string;
threadid?: number;
timestamp?: string;
components?: string;
instance?: string;
}
export interface GetLogsExResponse {
lines: LogLine[];
total: number;
}
export declare class LogaccessService extends LogaccessServiceBase {
protected _logAccessInfo: Promise<WsLogaccess.GetLogAccessInfoResponse>;
GetLogAccessInfo(request?: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
GetLogsEx(request: GetLogsExRequest): Promise<GetLogsExResponse>;
}