Giter VIP home page Giter VIP logo

logger's Introduction

Logger ๐Ÿ”

The Athenna logging solution. Log in stdout, files and buckets.

GitHub followers GitHub stars

Buy Me A Coffee

GitHub language count Repository size License Commitizen

Links

For project documentation click here. If something is not clear in the documentation please open an issue in the documentation repository

Contributing

If you want to contribute to this project, first read the CONTRIBUTING.MD file. It will be a pleasure to receive your help.


With ๐Ÿ’œ by Athenna community

logger's People

Contributors

jlenon7 avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

logger's Issues

[Feature]: Update version to 3.0.0

๐Ÿš€ Feature Proposal

The version of this package needs to be updated to 3.0.0.

Motivation

We are going to start versioning the Athenna packages using Semver. All packages of Athenna will be updated to version 3.0.0 to start following Semver rules.

Example

No response

[Bug]: Log engine is not applied when string has "\n"

Version

1.3.7

Steps to reproduce

Try to log a JSON with spaces:

const body = { hello: 'world' }
const bodyString = JSON.stringify(body, null, 2)

Log.info(`Body: ({yellow, bold} ${bodyString})`)

Expected behavior

const body = { hello: 'world' }
const bodyString = JSON.stringify(body, null, 2)

Log.info(`Body: ({yellow, bold} ${bodyString})`)

/**
 * Output:
 * 
 * Body: {
 *   "hello": "world"
 * }
 */

Actual behavior

const body = { hello: 'world' }
const bodyString = JSON.stringify(body, 0, 2)

Log.info(`Body: ({yellow, bold} ${bodyString})`)

/**
 * Output:
 * 
 * Body: ({yellow, bold} {
 *  "hello": "world" 
 * })
 */

Additional context

No response

Environment

System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 826.58 MB / 16.00 GB
    Shell: 5.8 - /opt/homebrew/bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm

[Bug]: Athenna packages being used as dependency

Version

1.4.1

Steps to reproduce

Same as issue #29 of @athenna/config but with multiple modules:

  • @athenna/ioc
  • @athenna/config
  • @athenna/common

Expected behavior

I expect that when I install the version 1.0.0 of the three packages above, that @athenna/logger package uses the same version.

Actual behavior

Two versions of the packages are installed, specifics for @athenna/logger and the other for the project. This means that I can't choose which version of the packages I want to use globally in the project.

Additional context

No response

Environment

System:
    OS: Linux 5.14 Ubuntu 20.04.5 LTS (Focal Fossa)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
    Memory: 6.19 GB / 15.03 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.0/bin/npm

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.