New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-logging-memory

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-logging-memory

In memory appender for `aurelia-logging`

1.0.4
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

aurelia-logging-memory

NPM version NPM downloads Build status Coverage Status badge-size-url

MemoryAppender for aurelia-logging and @unional/logging.

Usage

import { addAppender } from 'aurelia-logging' // or `@unional/logging`
import { MemoryAppender, stringifyLogLevel } from 'aurelia-logging-memory'

const appender = new MemoryAppender()
addAppender(appender)

// log away...

// All logs are saved in `appender.logs`
appender.logs.forEach(log => {
  console.log(`${log.id} (${stringifyLogLevel(log.level)}):`, ...log.rest)
})

FAQs

Package last updated on 13 May 2019

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