Skip to main content
Home

Built and signed on GitHub Actions

Brings coloring, timestamp prefix, files to deno log behavior with zero configuration

This package works with Deno
This package works with Deno
JSR Score
100%
Published
2 years ago (0.1.7)
function setDateFormat
setDateFormat(fmt?: string): void

Set date format for timestamp prefix in log messages Use following single character to represent date parts: y - year, m - month, d - day, H - hour, M - minute, S - second, T - millisecond

e.g. setDateFormat('y-m-d H:M:S.T')

Parameters

optional
fmt: string = y-m-d H:M:S.T

Return Type

void

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@timepp/zero-config-deno-log

Import symbol

import { setDateFormat } from "@timepp/zero-config-deno-log";
or

Import directly with a jsr specifier

import { setDateFormat } from "jsr:@timepp/zero-config-deno-log";