Socket
Book a DemoInstallSign in
Socket

@namics/remlog-utils

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@namics/remlog-utils

### Contents

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
7
Created
Source

# @namics/remlog-utils

Contents

const {
    URLS,
    LOGLEVEL,
    encodePayloadForUrl,
    getTracerImageUrl,
    getTraceUrl,
    getLogLevelName
} = require("@namics/remlog-utils");

Signatures

encodePayloadForUrl(payload: Object): string
getTracerImageUrl(config: { host: string, port: number }, payload: Object): string
getTraceUrl(config: { host: string, port: number }, payload: Object): string
getLogLevelName(logLevel: number): string

URLs

  • DASHBOARD (/)
  • LOGS (/logs.json)
  • LOG (/logs/:id.json)
  • TRACER_IMAGE (/tracer.jpg)
  • TRACE (/trace)

Loglevels

The loglevels are inspired by Apache's log4j logging services.

  • ALL (0)
  • TRACE (1)
  • DEBUG (2)
  • INFO (3)
  • WARN (4)
  • ERROR (5)
  • FATAL (6)
  • OFF (7)

Review the Changelog

Keywords

remote

FAQs

Package last updated on 10 Oct 2018

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