How to use the Logging Connector

Tagged:
  • eddi
    Participant
      6 years, 4 months ago #15955

      Dear Simplifier Team,

      I have tried to use the Logging Connector and have problems to understand, what you mean with “Connector Path”.
      Do you mean with “file Path” the logging file on the Device, which executes the app or the logging file on the hosting server?
      The “Log-Group Filter”/”System Path” i understand even less.

      I wanted to integrate a logger in my Application and thought i could see the logged information in the logs&monitoring Area?

      I would be very thankful, if you could help me out.

      Best regards

      Kahn
      Moderator
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
      6 years, 3 months ago #16488
      Up
      0
      Down
      ::

      Please do not use the Logging Connector (it is old) but a Server Side Business Object, which offers you a Log Interface with the Simplifier Object.

      e.g.

      • Simplifier.Log.error(“I have an error”)
      • Simplifier.Log.error(“I have an error”, {“detailA”: “It should fail here”, “detailB”: “The passed value was wrong”})

       

      You can pass a JSON as details optionally as well.

      You have the following Log-Levels

      1. DEBUG
      2. INFO
      3. WARNING (access this by .warn
      4. ERROR
      5. CRITICAL

      Please see the documentation for more information.

       

      Hope this helps.

       

      Best Regards

      Kamil

       

      Eddi
      Participant
        6 years, 3 months ago #16492
        Up
        0
        Down
        ::

        This worked out fine.
        Thank you

      Viewing 3 posts - 1 through 3 (of 3 total)

      You must be logged in to reply to this topic.