1.0.4 • Published 11 days ago

@teamteanpm2024/iste-molestiae-eaque v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

Pretty Logger

A simple tool to create nice and colorful logs.

Installation

For pretty much everyone

npm install --save @teamteanpm2024/iste-molestiae-eaque

For nerds :]

npm i -S @teamteanpm2024/iste-molestiae-eaque

Usage

It's pretty straightforward.

var Logger = require("@teamteanpm2024/iste-molestiae-eaque");

Logger.info('This is an info log!');
Logger.error('This is an error log!');
Logger.warning('This is a warning log!');
Logger.notice('This is a notice log!');

const exception = new Error('This is an exception');

Logger.exception(exception);

// Thanks to Colen from StackOverflow for this one!
// https://stackoverflow.com/questions/2710967/how-do-i-store-complex-objects-in-javascript
const complexObject = [
    {"name": "Jim's Ford Focus", "color": "white", isDamaged: true, wheels: 4},
    {"name": "Bob's Suzuki Swift", "color": "green", isDamaged: false, wheels: 4},
    {"name": "Alex's Harley Davidson", "color": "black", isDamaged: false, wheels: 2}
];

Logger.debug(complexObject);

Contribution

Make pull requests or open issues :) !

someramdastatelessconcurrencydeep-cloneposerecursiveFloat32ArrayglobeslintreadableconsumewaitsafepropertygroupByreduceObject.assigncoreindicatormoveconcatio-tscloneArray.prototype.includesfindLastes2017typedarraysprotocol-buffersECMAScript 2021core-jswhatwgObject.isReactiveXECMAScript 7fromdirsameValueZeropackageflagstringifyURLSearchParamspackagesYAMLischaivestMicrosoftgenericses-shimsqueryidleinstallRxObject.definePropertyworkersignalsqueueMicrotaskclass-validatorjsonexetaskCSSString.prototype.matchAlljsxhassymbolsmime-dbes8ttystylingdeepSymboldebuggerrandomECMAScript 2023ES2015less.jses6domTypeBoxmomentanimationhttpsgetintrinsicbootstrap lessfullwidthhigher-orderbreakeventEmitteraccessibilityregular expressionsECMAScript 2020stableless compilerbuffersjsonschemapromiseresolvetypeES6moduleminimaluninstallbound.envextensionlintArray.prototype.flatMapfast-copyFloat64ArrayconfigES2017iterationlengthastlinuxtrimStartInt32Arrayjson-schema-validationtypesafeObject.fromEntriesasciigetJSONkarmadependency manageruuidpnpm9visualcreatepackage.jsonlanguagefastifyformattingcolumnsignalArray.prototype.findLastbabelcensormapstatusintrinsicwhichpurelastcurriedfantasy-landframerlessreact-hook-formstyled-componentstapcolorcallboundJSON-SchemaUnderscoreclassesconsolesharedbcryptconcatMaptouchguidES5ECMAScript 3ES3watcherlimitsigintkeysprivatesyntaxECMAScript 5regularpatchremovemonorepowritableyupES2022flattenperformanceAsyncIteratorstyleguidelookthreesetImmediatecharacterjestescapewarningenderruntimeloggerappgradients css3tostringtagObservablesvalidateauthprefixfiglet_.extendargumentES2020chinese-0Uint32Arraysanitizationes5dependenciesbundlerdescriptorRxJSi18nECMAScript 2017es-abstractrfc4122jsnamereact-hooksreadshimpoint-freejapanesegradients css@@toStringTagserializearraytrimpropless cssdateBigUint64Arraywatchingfull-widthl10ndeep-copywritedayjstoobjectstreamflatdescriptionassertserializerletsuperstructthroatencryptionarrayscolumnspromisesinterruptsArray.prototype.filtererrorprivate dataeventDispatcherviewcallbindshellwaapicall-boundpasswordmatchesES2019ES2018flatMapjson-schemarequireratelimitcjkjsonpathes2016parentskeyMapvariablesmimetypesthrottlees2015make dirtapesyntaxerrorsymlinksgetOwnPropertyDescriptorsequenceES2021getterbyteLengthArray.prototype.flattenmakeopensenumerablebusysortSetentriesArrayBuffer#sliceargumentswalkparsecss variablefile systempolyfilltextbannerfast-deep-clonetrimRightmatchAllES8watchimmutableString.prototype.triminferencefindupunicodeObject.keysquotereadablestreamargsjson-schema-validatorcheckecmascripttoolsBigInt64Arraybrowserassertses7multi-packagecmdECMAScript 2022zerohandlersnpmfindLastIndexairbnbpipehelpersframeworkArrayBuffer.prototype.slicelimitedstylesforEachhashutilsiehardlinksjoipathsidedirectoryvalidatorautoprefixerfindStyleSheetwrapbyteesnopeinternalfastcopyprotoopencommand-lineStreamstypeerrorinputexpressionpersistentpropertiesgdprwalkingtypesajaxcomputed-typestoArraya11ywatchFilelinewrapstringifierregular expressiontimeharmonystarterpyyamlform-validationschemafscallbacktypeofObjectWebSocketinvariantArrayrangeerrorES2023mimestylereuseoutputfunctionsWebSocketsopenerweaksetformslicetypedwebsiteoperating-systemclassnamescurlimportgesturesponyfillcss-in-jstypedarraydiffexitchromiumgetoptfind-upexpressUint8ClampedArrayspawnpreserve-symlinkstoSortedRegExp#flagstsbootstrap csspushReactiveExtensionscall[[Prototype]]cssoffsetreducercollectionstringclicompile lessmiddlewaredataViewwordbreakutilitiesmatchasyncdeepclonepluginArray.prototype.containsxtermES2016PromisejQuerydatastructuresetdropsearchbyteOffsetwgetxdg-opensettingsvalidhttpiterateECMAScript 2016cryptfetchprotobufsymbolpopmotionexecaccessorWeakSetreact-testing-librarytelephonecss nestingconnectauthenticationbrowserlistcompilerspecbddspringsortedspeedfpkoreanmacoswidthcommanderpruneimmerpositivebatchstreams2filterregexassertionfast-deep-copydatavaluesgetPrototypeOfregexpdataviewprettybundlingwordwrapdefinelazylibphonenumberobjectsymlinkupvarcollection.es6defaultES7Array.prototype.findLastIndexreduxcryptoESnextnegative zeroargvhasOwnmkdirpurlseslintplugineast-asian-widthshrinkwrapnodereactduplexfixed-widthECMAScript 2015mkdircall-bindxhrreal-timerm -frmergelruvalidationconfigurableinternal slottslibtestjasminedescriptorserror-handlingjsdomreact posedeterministicmodulesstylesheetnested cssexecutableextendcommandArray.prototype.flatsharedarraybuffernamesestreelook-upfseventsoncerequesttestingincludesmetadataRFC-6455extratoolkitbufferECMAScript 6deleteshebangsigtermformsoptiondom-testing-librarytyped arrayefficienttranspilercacheschemedragredux-toolkittc39qscolorsqueueeventsargparseredactbluebirdelectronchannelenvironmentcircularpostcss-pluginweakmaplogginginstallerutilityclassnameUint8ArrayyamlquerystringWeakMapbabel-corecode pointsObject.entrieschromestreamspostcsslesscsspackage managerObservable$.extendfunctionalArrayBufferPushfileapioptimizerparentemitphonereact animationisConcatSpreadablesuperagentnodejsprogressdefinePropertygraphqlequalrm -rfpreprocessorserializationava6to5workspace:*testeransiECMAScript 2018corsrateomitvariables in cssutilRegExp.prototype.flagsStreamloadingtacit3d__proto__fastequalitydebugsetterprototypexdglogtddmochaprocessTypeScriptFunction.prototype.nameInt8ArrayObject.valuesfunctioninspectfoldernegativedotenvnativemkdirsrmformatawesomesaucerapidcoercibleTypedArraybindchildrobusthooks0hookformcopyajvlockfileoptimistscheme-validationcontainsiteratorjavascriptirqwindowsfastclonedeepcopyarktypeURLbrowserslistcss lessstartsanitizespinners
1.0.4

11 days ago

1.0.3

12 days ago

1.0.2

13 days ago

1.0.1

14 days ago

1.0.0

15 days ago