npm

@herebedragons-studios/ts-logging
TypeScript icon, indicating that this package has built-in type declarations

3.0.22 • Public • Published

Banner

Status

Main Docs coverage

Logging

Simple logging Module to be used in Javascript/Typescript projects

Static Methods

  • info
  • all
  • debug
  • error
  • critical

Installation

In order to use the logging package, we need to follow a list of steps presented below.

Step 1: Run npm install

To install as a dependency do:

$ npm install @herebedragonsstudios1/ts-logging

To install as a dev dependency do:

$ npm install @herebedragonsstudios1/ts-logging --save-dev

instead.

Simple logging implementation.

Allows replacing the implementation and give access to static methods and method binding.

Also includes method logging decorators and a lib version caching system for debugging purposes

Repository Structure

logging
│
│   .github                 <-- Workflows folder
│   .gitignore              <-- Defines files ignored to git
│   .nmpignore              <-- Defines files ignored by npm
│   .nmprc                  <-- Defines the Npm registry for this package
│   gulpfile.js             <-- Gulp build scripts. used in the 'build' and 'build:prod' npm scripts
│   jest.config.js          <-- Tests Configuration file
│   jsdocs.json             <-- Documentation generation configuration file
│   LICENCE.md              <-- Licence disclamer
│   nodemon.json            <-- Nodemon config file (allows to live test ts files)
│   package.json
│   package-lock.json
│   README.md               <-- Readme File dynamically compiled from 'workdocs' via the 'docs' npm script
│   tsconfig.json           <-- Typescript config file. Is overriden in 'gulpfile.js' 
│
└───bin
│   │   tag_release.sh      <-- Script to help with releases
│   
└───docs
│   │   ...                 <-- Dinamically generated folder, containing the compiled documentation for this repository. generated via the 'docs' npm script
│   
└───src
│   │   ...                 <-- Source code for this repository
│   
└───tests
│   │   ...                 <-- Test sources for this repository
│   
└───workdocs                <-- Folder with all pre-compiled documentation
|    │   ...
|    │   Readme.md           <-- Entry point to the README.md   
|
└───dist
|    |  ...                 <-- Dinamically generated folder containing the bundles for distribution
|
└───lib
    |   ...                 <-- Dinamically generated folder containing the compiled code

Repository Languages

JavaScript TypeScript NodeJS ShellScript

Social

LinkedIn

Package Sidebar

Install

npm i @herebedragons-studios/ts-logging

Weekly Downloads

1

Version

3.0.22

License

MIT

Unpacked Size

113 kB

Total Files

21

Last publish

Collaborators

  • herebedragonsstudios