sweet, can hardly wait for that, thanks!
> Because there are a thousand and
> one logging frameworks we'll have to discuss how we handle
> transformers that require you to sort out dependencies (lombok itself
> wouldn't actually need slf4j - it can just insert "private static
> final org.slf4j.Logger ...." without lombok itself even knowing what
> that is. However, if your classpath / IDE build project settings /
> maven / etc don't know what that is, you'll get an error, of course.
thought so.
> One option is to create packages whose package name reflects the
> dependency, i.e. instead of importing "lombok.WithLog" you'd import
> "lombok.slf4j.WithLog".
sounds great!
can't wait :-)
Yes, but one day you add "lombok.anotherLogger.WithLog" and we import it
carelessly and end with anotherLogger being used instead.
Moreover, specifying what logger you want in each class again and again
is boilerplate. This is a case for global user-defined settings, which
can't be done without some magic or runtime dependency, which you're
avoiding (for a good reason). However, I'm going to try to convince you
that user-defined settings are just too important to be left out.
Currently, I'm short of time, so I'll present my arguments in a posting
next week or about.
Regards, Maaartin.
--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en
Groups group for http://projectlombok.org/
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com