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

@bogeychan/elysia-logger

Package Overview
Dependencies
Maintainers
0
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.1.5 to 0.1.6

2

dist/config/formatters.d.ts
import type { RouteSchema } from "elysia";
import type { ElysiaLoggerContext, _INTERNAL_ElysiaLoggerPluginAutoLoggingState } from "../types";
import type { ElysiaLoggerContext, _INTERNAL_ElysiaLoggerPluginAutoLoggingState } from "../types.js";
export declare const formatters: {

@@ -4,0 +4,0 @@ log(object: Record<string, unknown>): {

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

import { serializeRequest } from "./serializers";
import { serializeRequest } from "./serializers.js";
export const formatters = {

@@ -3,0 +3,0 @@ log(object) {

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

export * from './formatters';
export * from './serializers';
export * from "./formatters.js";
export * from "./serializers.js";

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

export * from './formatters';
export * from './serializers';
export * from "./formatters.js";
export * from "./serializers.js";

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

import pino from "pino";
import { pino } from "pino";
import { Elysia } from "elysia";
import type { ElysiaLogger, StandaloneLoggerOptions, ElysiaFileLoggerOptions, ElysiaStreamLoggerOptions, _INTERNAL_Writeonly, _INTERNAL_ElysiaLoggerPlugin, _INTERNAL_ElysiaLoggerPluginAutoLoggingState, _INTERNAL_ElysiaLoggerPluginAutoLoggingEnabledOptions, _INTERNAL_ElysiaLoggerPluginAutoLoggingDisabledOptions } from "./types";
import type { ElysiaLogger, StandaloneLoggerOptions, ElysiaFileLoggerOptions, ElysiaStreamLoggerOptions, _INTERNAL_Writeonly, _INTERNAL_ElysiaLoggerPlugin, _INTERNAL_ElysiaLoggerPluginAutoLoggingState, _INTERNAL_ElysiaLoggerPluginAutoLoggingEnabledOptions, _INTERNAL_ElysiaLoggerPluginAutoLoggingDisabledOptions } from "./types.js";
/**

@@ -40,4 +40,4 @@ * The StreamLogger is used to write log entries to a stream such as the console output (default behavior).

}> | _INTERNAL_ElysiaLoggerPlugin<_INTERNAL_Writeonly<_INTERNAL_ElysiaLoggerPluginAutoLoggingState>>>;
export * from "./config";
export type { InferContext } from "./types";
export * from "./config/index.js";
export type { InferContext } from "./types.js";
export { pino } from "pino";

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

import pino from "pino";
import { pino } from "pino";
import { Elysia } from "elysia";

@@ -11,3 +11,3 @@ /**

*/
import { formatters, serializers } from "./config";
import { formatters, serializers } from "./config/index.js";
export function logger(options = {}) {

@@ -97,3 +97,3 @@ return plugin(options);

const plugin = (options) => into.bind(createPinoLoggerInternal(options))(options);
export * from "./config";
export * from "./config/index.js";
export { pino } from "pino";
{
"name": "@bogeychan/elysia-logger",
"version": "0.1.5",
"version": "0.1.6",
"description": "A plugin for Elysia.js for logging using the pino library",

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

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