Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/log/handlers.ts>FileHandler

A modern runtime for JavaScript and TypeScript.
Go to Latest
class FileHandler
extends WriterHandler
import { FileHandler } from "https://deno.land/x/deno@v0.28.0/std/log/handlers.ts";

Constructors

new
FileHandler(levelName: string, options: FileHandlerOptions)

Properties

private
_file: File
private
_filename: string

Methods

destroy(): Promise<void>
setup(): Promise<void>