Code Monkey home page Code Monkey logo

helix-universal-logger's Introduction

Helix Universal Logger

Logging Library for the Universal Runtime.

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

Installation

$ npm install @adobe/helix-universal-logger

Usage

See the API documentation.

Development

Build

$ npm install

Test

$ npm test

Lint

$ npm run lint

helix-universal-logger's People

Contributors

maxakuru avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot avatar stefan-guggisberg avatar tripodsan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helix-universal-logger's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/main.yaml
  • actions/checkout v4
  • actions/setup-node v4
  • codecov/codecov-action v4
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/semver-check.yaml
npm
package.json
  • @adobe/fetch 4.1.8
  • @adobe/helix-log 6.0.3
  • @adobe/eslint-config-helix 2.0.6
  • @adobe/helix-shared-wrap 2.0.2
  • @semantic-release/changelog 6.0.3
  • @semantic-release/git 10.0.1
  • @semantic-release/npm 12.0.1
  • ajv 8.16.0
  • c8 9.1.0
  • codecov 3.8.3
  • eslint 8.57.0
  • husky 9.0.11
  • jsdoc-to-markdown 8.0.1
  • junit-report-builder 3.2.1
  • lint-staged 15.2.5
  • mocha 10.4.0
  • nock 13.5.4
  • semantic-release 24.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Edge Compute Compatibility?

Overview

How would we get Edge Compute compatibility? I'm adding compatibility with Fastly Compute@Edge and Cloudflare Workers to helix-deploy right now. The question is how to enable console.log.* easily in these environments.

Details

In Fastly, logging is as easy as:

/* global fastly */
const logger = fastly.getLogger('Coralogix');
logger.log(JSON.stringify(data));

In Cloudflare, we have to make a fetch request to the Coralogix API, but fetch is built-in.

We could create an @adobe/helix-universal-edge-logger package that is published alongside @adobe/helix-universal-logger and replaces it via Webpack magic in helix-deploy. I'm not sure if we should fork this project, or tweak the release script to patch it in place or create a monorepo like we do in helix-shared

Also, I'm not sure if we should do the same for @adobe/helix-log and create an @adobe/helix-edge-log package that replaces phin in the Coralogix logger with fetch or fastly.getLogger()

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.