scala-macro-debug icon indicating copy to clipboard operation
scala-macro-debug copied to clipboard

Logger support or at least String instead of Unit as a report type

Open antonkulaga opened this issue 11 years ago • 2 comments

For most of complex applications you use Logger instead of prinln, but scala-macro-debug returns Unit so I cannot say Logger.debug(debug(some expression)). So, at least String instead of unit as return method is highly desirable

antonkulaga avatar Feb 17 '14 20:02 antonkulaga

Good idea, however then you wouldn't want to have the println as well, right? So probably another String-returning variant would be good. Any ideas for a name of such a variant?

adamw avatar Feb 18 '14 08:02 adamw

I seen the best name for stringification is QUOTE

valtih1978 avatar Dec 27 '15 19:12 valtih1978