Skip to content

Bug: TestCaptureLogger<T> no longer derives from TestCaptureLogger #184

@colinangusmackay

Description

@colinangusmackay
private TestCaptureLogger GetLogger()
{
    var result = new TestCaptureLogger<object>();
    return result;
}

Cannot implicitly convert type 'Stravaig.Extensions.Logging.Diagnostics.TestCaptureLogger' to 'Stravaig.Extensions.Logging.Diagnostics.TestCaptureLogger'

  • Could this be implicitly cast and have the underlying logger returned instead?
  • Should an explicit cast be required instead?
  • Or a method to get the underlying logger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions