I create a new project with Studio 1.3.9-213
LoginView then contains Logger log
field:
public class LoginView extends StandardView {
private final Logger log = LoggerFactory.getLogger(LoginView.class);
In a production this Logger instance will cost additional lock contention (on screen instantiation) and usually Logger
instances are not that cheap. I would recommend generating this with static
modifier by default for UI screens.