1.0.12 • Published 10 months ago

easy-logger-dev v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Easy Logger

An easy to use logger controlled by localStorage.

Install

npm install easy-logger-dev

Download Extension

The download of the extension is important for the functionality of the npm package, as it creates the js_easylogger entry in the localStorage for each opened tab.

📦 Easy Logger
📂 Configs

How to use?

Important: App name should contain only letters and underscores.

Typescript

import { setLogName, log, info, warn, error } from 'easy-logger-dev'

setLogName('app_testing')
log('log')
info('info')
warn('warn')
error('error')

Javascript

<script src="https://cdn.jsdelivr.net/npm/easy-logger-dev@1.0.12/dist/easy-logger-dev.js"></script>
<script>
  EasyLogger.setLogName('app_testing')
  // Install Extension before
  EasyLogger.log('log');
  EasyLogger.info('info');
  EasyLogger.warn('warn');
  EasyLogger.error('error');
</script>
1.0.12

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago