Skip to content

Logstage: macro helper for logging method calls with parameters and returns #2157

@neko-kai

Description

@neko-kai
log.logMethod(Debug) {
  f(a, b, c)
} // call to f with a=1 b=2 c=3 produced res=6
(f(-1, 2, 3): F[String, Int])
  .logMethod(Debug) // call to f with a=-1 b=2 c=3 produced error="Number must not be negative"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions