try static On Sat, Jan 15, 2011 at 3:59 PM, Alexandros Karypidis <[email protected]>wrote:
> Hello, > > I'm using SLF4J and was wondering whether pages should declare: > > private transient final Logger log = LoggerFactory > .getLogger(SomePage.class); > > as members. I guess that accessing a page that was saved and then re-loaded > would result in breaking logging, as the variable would be set to null. > I've no > idea how heavy-weight these Logger implementations are though and am > worried > that they should not be declared in class scope. > > What do experienced Wicket developers do to access logging? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
