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

@bogeychan/elysia-logger

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bogeychan/elysia-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/index.d.ts
import Elysia from 'elysia';
import type { LoggerOptions, FileLoggerOptions, StreamLoggerOptions } from './types';
export declare const logger: (options: StreamLoggerOptions) => (app: Elysia) => Elysia<{
export declare const logger: (options?: StreamLoggerOptions) => (app: Elysia) => Elysia<{
store: {};

@@ -5,0 +5,0 @@ request: {

import pino from 'pino';
import { formatters, serializers } from './config';
export const logger = (options) => plugin(options);
export const logger = (options = {}) => plugin(options);
export const fileLogger = (options) => plugin(options);

@@ -5,0 +5,0 @@ export function createPinoLogger(options) {

{
"name": "@bogeychan/elysia-logger",
"version": "0.0.1",
"version": "0.0.2",
"description": "A plugin for elysia for logging using the pino library",

@@ -5,0 +5,0 @@ "author": {

@@ -23,3 +23,3 @@ import pino from 'pino';

*/
export const logger = (options: StreamLoggerOptions) => plugin(options);
export const logger = (options: StreamLoggerOptions = {}) => plugin(options);

@@ -26,0 +26,0 @@ /**

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