Without Java 9, that's pretty much the only way to get the caller line number and other metadata besides the caller class.
On 10 June 2016 at 09:44, Jochen Wiedmann <[email protected]> wrote: > On Fri, Jun 10, 2016 at 4:02 PM, sebb <[email protected]> wrote: > > > Depends on what the implementation does. > > > > For example: > > > > @Override > > void debug( String message ){ > > new Throwable(message).printStackTrace(); > > } > > Even a dumb application developer like me would at least like to see a > *bit* of performace. :-) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Matt Sicker <[email protected]>
