Giter Site home page Giter Site logo

Comments (3)

okkez avatar okkez commented on July 28, 2024

Could you show me reproducible code and procedure?

from fluent-logger-node.

bivas6 avatar bivas6 commented on July 28, 2024

package.json:
{
...
"dotenv": "^8.2.0",
"fluent-logger": "^3.3.0",
"fs": "0.0.2",
...
}

package-lock.json:

{
...
"fluent-logger": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.3.0.tgz",
"integrity": "sha512-Ea5hbBcHcmPy3TdXKcVqwMFENxrAVP437jeSlXa3QsJ2AiMw+fj9QSVrQu0EFwVw7Jemg58mF5h5gt1gPSVWQw==",
"requires": {
"msgpack-lite": "*"
}
},
.. "msgpack-lite": {
"version": "0.1.26",
"resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz",
"integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=",
"requires": {
"event-lite": "^0.1.1",
"ieee754": "^1.1.8",
"int64-buffer": "^0.1.9",
"isarray": "^1.0.0"
}
},
...

logger.ts:

import * as fluentdLogger from 'fluent-logger';
class Logger {
private _fluentLogger: fluentdLogger.FluentSender<{ log: string }>;
constructor(logName: string) {
this.logName = logName;
logName = logName.replace(/ /g, '
');
this._fluentLogger = fluentdLogger.createFluentSender(...);
}

Thanks!

from fluent-logger-node.

bivas6 avatar bivas6 commented on July 28, 2024

This problem has solved in @3.4.0 Thanks!

from fluent-logger-node.

Related Issues (20)

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.