Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kcram-solutions/logger

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kcram-solutions/logger

Logger simple para node y el navegador

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Weekly downloads
 
Created
Source

Logger Simple para la organización Verified on Openbase

Socket Badge NPM npm

Simple logger para los proyecto de node.

Instalación:

NPM

npm install @kcram-solutions/logger

Navegador

<script type="module">
import {Logger} from 'https://esm.run/@kcram-solutions/logger';

let logger = new Logger('App');
</script>
// importamos la librería
const { Logger, LEVEL } = require('@kcram-solutions/logger')

const logger = new Logger(?name);

Logger.level = LEVEL.DEBUG // INFO | LOG | WARN | ERROR | CRITICAL

logger.debug('Hola from debug')
logger.info('Hola from info')
logger.log('Hola from log')
logger.warn('Hola from warn')
logger.error('Hola from error')
logger.critical('Hola from critical')

Todo:

  • Formato a los número en fechas y horas
  • Agregar color en la salida estandar
  • Separar archivos para node y navegador

FAQs

Package last updated on 13 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc