Skip to main content
Dpm Logo

Dpm Land - Dlog

A simple logger for deno!

Github Workflow GitHub license Discord Lines of code Last Commit

Description :sauropod:

This is a simple logger based on glogger repository and improve some features

Usage :computer:

Basic logging out:

import { Dlog } from 'https://deno.land/x/dlog2@1.1.1/mod.ts';

const logger = new Dlog('Test Dlog');

logger.info('helloooo from info');
logger.warn('helloooo from warn');
logger.error('helloooo from error');
logger.debug('helloooo from debug');

File log support

import { Dlog } from 'https://deno.land/x/dlog2@1.1.1/mod.ts';

const logger = new Dlog('Test Dlog', true, './test');

logger.info('helloooooo');

Made with :heart: in :earth_americas: