No logger field is created if the parent class contains one.
Status: Beta
Brought to you by:
jkellerer
If the parent class contains a private (or better inaccessible) logger field, no new logger is created as the private logger is detected as being a valid logger.
E.g. using "logi" in:
MyJPanel extends JPanel {
{
logi + TAB
}
}
results in:
MyJPanel extends JPanel {
{
log.info("");
}
}
.. however "log" is a private field in JComponent and cannot be used in the context.
Update: This happens only when no default logger was configured. Maybe we just need to ensure that a warning is correctly shown.