Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

jsonFormat

import { jsonFormat } from "https://raw.githubusercontent.com/Yamboy1/deno-structured-logging/0.4.2/mod.ts";

A json output format

const jsonFormat: "{\"message\":\"{message}\",\"level\":\"{level}\",\"timestamp\":\"{timestamp}\",\"data\":{params}}";