Uncategorized

Location Macro – a useful Scala macro

FavoriteLoadingAdd to favorites

It is sometimes very useful to know the locations where a particular method is called. Of course your IDE tells you all of the locations in your source code. However, when investigating runtime issues, such as performance bottlenecks in production, logging is a simple yet powerful tool. How do we know the location of the method invocation? One way is…
Original post: Location Macro – a useful Scala macro
Source: Kifi