Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.54 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.54 KB

Dpm Logo

Dpm - Dlog 🦕

Discord Twitter GitHub license Github Workflow

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

Usage 💻

Basic logging out:

import { Dlog } from 'https://deno.land/x/[email protected]/classic.ts'; // Classic version with the classic out!
import { Dlog } from 'https://deno.land/x/[email protected]/mini.ts'; // Mini version the same features of classic but with a minimalist out!

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/[email protected]/classic.ts'; // Classic version with the classic out!
import { Dlog } from 'https://deno.land/x/[email protected]/mini.ts'; // Mini version the same features of classic but with a minimalist out!

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

logger.info('helloooooo');

Made with ❤️ in 🌎