Skip to main content

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
3 months ago (0.1.7)
function prefixEmptyLines
prefixEmptyLines(p?: boolean): void

Whether to prefix log calls with no parameters, e.g. console.log() Set this to true will keep writing prefix in this case Set this to false will end up with a blank line Default is false Note: there will always be prefix for log calls with parameters, even this causes empty line, e.g. console.log('')

Parameters

optional
p: boolean = false

Return Type

void

Add Package

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

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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