import { Logger } from "https://deno.land/x/pup@1.0.0-rc.9/lib/core/logger.ts";
Constructors
new
Logger(globalConfiguration: GlobalLoggerConfiguration, storeName?: string)Properties
private
optional
attachedLogger: AttachedLoggerprivate
config: GlobalLoggerConfigurationMethods
private
fetchLogsFromStore(selector: { prefix: Deno.KvKey; } | { start: Deno.KvKey; end: Deno.KvKey; }, nRows?: number): Promise<LogEventData[]>private
internalLog()private
prepareSelector(processId?: string,
startTimeStamp?: number,
endTimeStamp?: number,
private
writeFile(fileName: string,
text: string,
quiet?,
attach(pluginLogger: AttachedLogger)
error()
generic()
getLogContents(): Promise<LogEventData[]>
processId?: string,
startTimeStamp?: number,
endTimeStamp?: number,
nRows?: number,
getLogsByProcess(processId: string, nRows?: number): Promise<LogEventData[]>
getLogsByProcessAndTime(): Promise<LogEventData[]>
processId: string,
startTimeStamp: number,
endTimeStamp: number,
nRows?: number,
getLogsByTime(): Promise<LogEventData[]>
startTimeStamp: number,
endTimeStamp: number,
nRows?: number,
info()
log()
purge(keepHours: number): Promise<number>
warn()