GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Sunday, 14-Apr-2024 18:50:27 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)

    #JavaScript & #TypeScript doesn't seem to have a decent #logging library. I looked around, but none of them fulfill all my needs.

    • Creating loggers should be possible before configuring drivers/appenders/filters.

    • The loggers should be divided into categories, and the categories should be hierarchically organized. For example, the drivers I set for the foo logger should also apply to the foo.bar and foo.bar.qux loggers.

    • Multiple runtimes should be supported in addition to #Node.js, such as browsers, #Deno, #Bun, etc.

    #log4js comes close to fulfilling the first two requirements, but does not fulfill the last one (runtime diversity).

    Time for another yak shaving?

    In conversation about a year ago from todon.eu permalink
    • Embed this notice
      洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Sunday, 14-Apr-2024 20:03:16 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
      in reply to
      • wraptile

      @wraptile I also looked at tslog, but it doesn't support Deno. 😢

      In conversation about a year ago permalink
    • Embed this notice
      wraptile (wraptile@fosstodon.org)'s status on Sunday, 14-Apr-2024 20:03:17 JST wraptile wraptile
      in reply to

      @hongminhee I've used "tslog" before and it was alright. Though it didn't work with Deno or Bun few months ago. Maybe it's supported now.

      In conversation about a year ago permalink
    • Embed this notice
      洪 民憙 (Hong Minhee) (hongminhee@todon.eu)'s status on Monday, 15-Apr-2024 12:59:30 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
      in reply to

      I ended up writing a small #logging library of my own. 😅

      #TypeScript #JavaScript

      In conversation about a year ago permalink

      Attachments


      1. https://todon.eu/system/media_attachments/files/112/273/231/951/314/669/original/4a9485f0d4d76d90.png

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.