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

@justeat/f-logger

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeat/f-logger

Client-side logging, error-logging and debugging utils

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-6.67%
Maintainers
6
Weekly downloads
 
Created
Source

f-logger - JavaScript logging and error-logging component for the Just Eat Fozzie UI Component Library

This component is designed to catch client-side errors and allow client-side logging which will report back via web server logs.

Logging

  • Allows logging points to be placed in the code

Error logging

  • Allows error logging points to be placed in the client-side JavaScript code
  • Hooks onto window.onerror to catch unhandled exceptions
  • Passes error message to a file on the web server as a querystring parameter, which can then be parsed via web server log parsers

Logging utils

Debugger

  • Sets a debug flag in the client
  • Returns debug info to the client
  • Allows debug mode to be persisted through a cookie

Outputter

  • Using debug mode, optionally outputs the logging messages to the console
  • For client platforms that do not support console, provides output to the browser window

FAQs

Package last updated on 15 Aug 2017

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