Skip to content

Write to log info about which method AutoLazy is instrumenting to #6

Description

@erancahana

Maybe consider something like this in LazyWeaver.cs:

    public bool Instrument()
    {
        **Context.Weaver.LogInfo($"Instrumenting [Lazy] to {Method.DeclaringType.FullName}.{Method.Name}.");**

this will also help in debugging in order to figure out if AutoLazy didn't instrument to some property we were expecting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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