0.1.7-alpha.7 • Published 8 months ago

@infinitylist/logger v0.1.7-alpha.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@infinitylist/logger

Simple module for cleaner looking console logs


Usage

Parameters

TypeDescription
contentThe content/message for the log
typeThe type of log you want to send

Types

TypeDescription
logDefault log type displayed with a green id and timestamp
warnWarning displayed with a yellow id and timestamp
errorError logs displayed with a red id and timestamp
debugDebug logs displayed with a white id and timestamp
infoInfo logs displayed with a blue id and timestamp

Examples

Node

const { prettyLogs} = require("@infinitybots/logger");

return prettyLogs('[@infinitybots/logger]: testing warn logs', 'warn');

ES6

import { prettyLogs} from "@infinitybots/logger";

return prettyLogs('[@infinitybots/logger]: testing warn logs', 'warn');
0.1.7-alpha.7

8 months ago

0.1.7-alpha.6

9 months ago

0.1.6

9 months ago

0.1.0

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago