Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

ILogger support for the REST & RPC drivers #65

@ProphetLamb

Description

@ProphetLamb

The database drivers DatabaseRest and DatabaseRpc should have a property, initialized from .ctor of the type ILogger Logger.

LoggerMessages should be defined using the LoggerMessageGenerator.

The content, for each logging level, should be reasonable. Here are a few examples:

Verbosity Example
Debug Each public method call. e.g. Query, SignUp. The query itself, such as credentials, must never be logged!
Info Significant state changed Open, Close.
Warning Duplicate call to open, empty results etc.
Error Exceptions, failed to open etc.

These are mostly how I personally feel about logging verbosity, feel free to choose differently, within reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions