Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class default
import { default } from "https://deno.land/x/logger@v1.1.7/writable.ts";

Writable class

Constructors

new
default(path: string)

Writable constructor

Properties

private
path: string
protected
file: Deno.FsFile
currentSize: number

Methods

close(): void

Close file

setup(): Promise<void>

Setup writable file

write(msg: Uint8Array): Promise<void>

Write message to file