Latest
class default
import { default } from "https://dotland.deno.dev/x/logger@v1.1.7/writer.ts";

Writer class

Constructors

new
default(unnamed 0: WriterConstructor)

Writer constructor

Properties

private
optional
maxBackupCount: number
private
optional
maxBytes: number
private
pathWriterMap: Map
private
[Types.ERROR]: string
private
[Types.INFO]: string
private
[Types.WARN]: string

Methods

private
newWriter(path: string)
rotateLogFiles(path: string): Promise<void>

Rotate log files

write(unnamed 0: WriterWrite): Promise<void>

Write message to file