🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@tailor-platform/function-logger

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tailor-platform/function-logger

Simple logger utility for Tailor applications

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
213
12.11%
Maintainers
1
Weekly downloads
 
Created
Source

@tailor-platform/function-logger

Simple logger utility for Tailor Function applications.

Installation

npm install @tailor-platform/function-logger

Usage

import logger from '@tailor-platform/function-logger';

// Log messages at different levels
logger.debug('Debug message', { extra: 'data' });
logger.info('Info message');
logger.warn('Warning message');
logger.error('Error message', new Error('Something went wrong'));

API

The logger provides four log levels:

  • debug: For detailed debugging information
  • info: For general informational messages
  • warn: For warning messages
  • error: For error messages

Each method accepts a message string and optional additional arguments that will be logged.

Building

npm run build

FAQs

Package last updated on 22 Oct 2025

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