izumi icon indicating copy to clipboard operation
izumi copied to clipboard

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

Open neko-kai opened this issue 1 year ago • 0 comments

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"

neko-kai avatar Aug 01 '24 15:08 neko-kai