title: scala logging function name
body: <p>In my log entries, I would like to log the function name in which the log method was called. </p>
  
  <p>This is to automatically be able to filter log entries by function name. Is this possible? With any libraries? Any extensions with existing libraries?</p>
  
  <p>In other words, is it possible to extract the name of the scala function the execution context is currently executing at runtime?</p>
  
  <p>Secondary Question: I understand this may be far-fetched, but ideally, the closest enclosing named function which contained the logging call is preferred instead of the actual anonymous function that scala generates a cryptic name for. The latter would be hard to read from logs.</p>