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

@beforeyoubid/logger-adapter

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beforeyoubid/logger-adapter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/types.d.ts

1

dist/console/index.d.ts

@@ -0,1 +1,2 @@

import { ILogDNAParams } from '../types';
declare const consoleLogger: {

@@ -2,0 +3,0 @@ init: (params?: ILogDNAParams) => void;

@@ -0,3 +1,4 @@

import { ILogDNAParams } from '../types';
declare const getLogger: (params: ILogDNAParams) => any;
declare const getDefaultConsoleLog: () => any;
export { getLogger, getDefaultConsoleLog };

@@ -0,2 +1,3 @@

import { ILogDNAParams } from '../types';
declare const getLogger: (params: ILogDNAParams) => any;
export { getLogger };

@@ -0,3 +1,4 @@

import { ILogDNAParams } from './types';
declare const sendToRemote: (logDNAKey: string, logDNAEnabled: string) => boolean;
declare const getLogParams: () => ILogDNAParams;
export { getLogParams, sendToRemote };

@@ -0,1 +1,2 @@

import { LambdaHandlerWithAsyncFunction, LambdaHandlerWithCallbackFunction } from './types';
/**

@@ -2,0 +3,0 @@ * Handy function to check if we are sending to LogDNA

4

package.json
{
"name": "@beforeyoubid/logger-adapter",
"version": "1.0.0",
"version": "1.0.1",
"description": "A platform logger module to send the log messages to LogDNA.",

@@ -12,3 +12,3 @@ "main": "dist/index.js",

"scripts": {
"lint": "eslint --max-warnings 0 '**/*.{ts,tsx,js,jsx}'",
"lint": "eslint --max-warnings 0 '**/*.{ts,tsx,js,jsx}' && tsc --noEmit",
"lint:fix": "eslint --fix --max-warnings 0 '**/*.{ts,tsx,js,jsx}'",

@@ -15,0 +15,0 @@ "test": "yarn build && jest --config jestconfig.json",

@@ -0,1 +1,3 @@

import { ILogDNAParams } from '../types';
import { getLogParams } from '../params';

@@ -2,0 +4,0 @@ import { getLogger } from './logger';

@@ -0,1 +1,2 @@

import { ILogDNAParams } from '../types';
const LogDNALogger = require('logdna');

@@ -2,0 +3,0 @@ const { flushAll } = require('../util');

@@ -0,1 +1,2 @@

import { ILogDNAParams } from '../types';
const logdnaWinston = require('logdna-winston');

@@ -2,0 +3,0 @@ const winston = require('winston');

@@ -0,1 +1,3 @@

import { ILogDNAParams } from './types';
const {

@@ -2,0 +4,0 @@ LOG_LEVEL = 'info',

@@ -0,1 +1,3 @@

import { LambdaHandlerWithAsyncFunction, LambdaHandlerWithCallbackFunction, CallbackFunction } from './types';
const LogDNALogger = require('logdna');

@@ -2,0 +4,0 @@ const debug = require('util').debuglog('logger-adapter');

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