code-logger
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-beta • Public • Published

CodeLogger

Overview

Monitor and manage application activity effortlessly through detailed logs. Keep a watchful eye on your codebase by tracking errors, events, and key interactions, empowering you to maintain a smooth and reliable web experience.

GitHub license npm version PRs Welcome Download

Features

  • [x] Capture Console (log,info,debug,warn,error)
  • [x] Custom Logs (levels: info, warn, error)
  • [ ] Capture Network
  • [ ] Capture WebSockets
  • [ ] Capture Global Errors
  • [ ] Add support for different transport (api,file,database,etc.)
    • [x] API
    • [ ] File
    • [ ] Database (Browser Database/Hosted Database/In Memory)

Use Case:

  1. We can use this library to log and report all console and network activities to track the web based applications
  2. It can be used in following scenarios
    1. Centralized console logging mechanism
    2. Centralized error capturing
    3. Centralized network logging mechanism

How to Use

  1. First, you will have to install the code-logger

      npm i code-logger
  2. You will have to require the code-logger

      import code-logger from 'code-logger';
    
      // TODO:   

/code-logger/

    Package Sidebar

    Install

    npm i code-logger

    Weekly Downloads

    0

    Version

    0.1.0-beta

    License

    MIT

    Unpacked Size

    172 kB

    Total Files

    26

    Last publish

    Collaborators

    • code-crash