/loggy

A simple console logging library for deno.

Primary LanguageTypeScriptThe UnlicenseUnlicense

A simple console logging library for deno. Like...really simple.

GitHub GitHub issues GitHub last commit (by committer) Static Badge


This repository exists to allow me to learn how to make modules with deno. I do not expect anyone to use it but if you do...let me know!

Preview

Usage

Quickstart

Simply import the module.

import * as loggy from "https://deno.land/x/loggy@0.0.2/main.ts";

loggy by example

The code below...

import * as loggy from "https://deno.land/x/loggy@0.0.2/main.ts";

loggy.log("This is a standard log message.");
loggy.success("And this is a log message with a success status message.");
loggy.fail("Uh oh, something failed here.");
loggy.critical("Oops, a critical task failed!");
loggy.info("Loggy makes it easy to communicate events to developers.");
loggy.info("By utilizing the different status types loggy includes, you can");
loggy.info("make your important messages stand out without compromising log output.");

...will create this output!

Check the automatically generated documentation for more logging options.