Skip to content

Custom appender #70

@atao60

Description

@atao60

I'm trying to use jsnlog with Meteor + Angular 2. In the long term it'll be a server side rendering app.: the SSR proxy could be used to catch requests on 'options.url'. But ATM I want to avoid such a proxy. I.e. to stay using Meteor.methods/.call.

I'have a working workaround written in TS with a customized Ajax appender through JL.defaultBeforeSend, but it's quite contrived.

Things could be much more simple if some parts of jsnlog were public, at least:

  • Appender
  • a table of the values from levelToString.

I know you "never expected anybody to want to write a client side custom appender that lives outside jsnlog.ts" but is it something that you can consider?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions