Giter Site home page Giter Site logo

Comments (2)

huan avatar huan commented on July 2, 2024

According to the below code:

import { log } from 'brolog'

The FlashStore currently using the global instance log from Brolog, which is the same as the Wechaty Puppet system is using.

A solution would be to disable the log for FlashStore by default, add a logger option in the FlashStoreOptions, and can pass a Logger to it to enable the log:

constructor (
public workdir: string,
) {

We can use the Logger interface from Brolog here:

https://github.com/huan/brolog/blob/aa83c0940b9bffe6340d8ae9e4db6a1ad8bb9f07/src/logger.ts#L3

I'd like to accept a PR for implementing the above design.

from flash-store.

su-chang avatar su-chang commented on July 2, 2024

Thanks for you response and advice, I will do it when I'm available.

from flash-store.

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.