class DateFileHandler
extends WriterHandler
import { DateFileHandler } from "https://deno.land/x/date_file_log@v0.2.5/src/date_file.ts";
Constructors
new
DateFileHandler(levelName: LevelName, options: FileHandlerOptions)Properties
protected
_buf: BufWriterSyncprotected
_encoder: TextEncoderprotected
_mode: LogModeprotected
_openOptions: Deno.OpenOptionsMethods
private
_log(msg: string): voidprivate
getFilenameByDate(filename: string, date?): stringprivate
init()private
mkdirAndremoveExpiredFiles()private
setupBuf()destroy()
flush(): void
log(msg: string): void
setup()