https://github.com/apereo/cas/blob/5.3.x/lombok.config <https://github.com/apereo/cas/blob/5.3.x/lombok.config>
> Am 08.10.2018 um 16:53 schrieb Robert Oschwald <[email protected]>: > > https://projectlombok.org/features/log > <https://projectlombok.org/features/log> > > > See lombok.config file > You need this file in your overlay project. > > > > >> Am 08.10.2018 um 16:32 schrieb Yan Zhou <[email protected] >> <mailto:[email protected]>>: >> >> Hello, >> >> Looking at CAS 5.3 source code, I need to customize action class, so I >> create a class with the same name/package in my overlay, but I cannot >> resolve compile error on LOGGER. >> >> I understand with Lombok and @Slf4j, I get object: log for free. But, I do >> not know how LOGGER is defined in CAS code. >> >> Thx! >> Yan >> >> >> in action classes, I see this: >> >> >> @Slf4j >> public class SendPasswordResetInstructionsAction extends AbstractAction { >> >> LOGGER.debug(...) <== this is how logging is done, is this referring to >> the same logger object in parent? >> >> In AbstractAction, i see this. >> >> protected final Log logger = LogFactory.getLog(getClass()); >> >> Thanks, >> Yan >> >> -- >> - Website: https://apereo.github.io/cas <https://apereo.github.io/cas> >> - Gitter Chatroom: https://gitter.im/apereo/cas >> <https://gitter.im/apereo/cas> >> - List Guidelines: https://goo.gl/1VRrw7 <https://goo.gl/1VRrw7> >> - Contributions: https://goo.gl/mh7qDG <https://goo.gl/mh7qDG> >> --- >> You received this message because you are subscribed to the Google Groups >> "CAS Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ce7fb5fb-4cfe-4926-a14c-be5a18cb44b1%40apereo.org >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ce7fb5fb-4cfe-4926-a14c-be5a18cb44b1%40apereo.org?utm_medium=email&utm_source=footer>. > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6D509FDE-F4E6-4564-98F0-BEFAE1F8CB4F%40gmail.com.
signature.asc
Description: Message signed with OpenPGP
