Visitors Counter

1611168
Home arrow User Guide arrow Actions arrow Declaration
Logger Declaration PDF Print

Two operations are executed:

  • import statements
  • declare logger

Most of the documentation is already done in the Preferences

Example:

import org.apache.log4j.Logger;

public class MyClass {
/**
* Logger for this class
*/
private static final Logger logger = Logger.getLogger(MyClass.class);