Skip to content

LogglyClient documentation suggestion #113

Open
@alexsaare

Description

Just a suggestion for the documentation in the readme - please correct me if i'm wrong.

From looking at the code for LogglyClient it would make sense for it to be stored and used as a singleton - especially when using Https transport in a web application environment. The default constructor uses the TransportFactory method which returns a new instance of HttpMessageTransport. This in turn creates a new HttpClient which (as per the official documents) is "intended to be instantiated once and reused throughout the life of an application"

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