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

Elapsed milliseconds are zero #8

@pnmcosta

Description

@pnmcosta

Hi @hryz,

I've now completed the integration of the package in both .net framework and .net core samples and it's working as expected, thank you for all your help.

Only issue i'm coming across is with the Elapsed times, these are zero with the quickest queries, I believe this is because of the Stopwatch precision.

For a more precise measure, please see https://github.com/serilog/serilog-aspnetcore/blob/dev/src/Serilog.AspNetCore/AspNetCore/RequestLoggingMiddleware.cs#L55

Thanks,
P.

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