Create loggers that can be configured with properties.

EvaLog adds a convenient way to configure and create Java loggers. Each logger is configured for one package.

Creating a logger:
Use one of the EvaLog.create factory methods to create a new logger and parse the corresponding properties.

Example:

    import java.util.logging.Logger;
    import com.eva.log.EvaLog;
		
    class Log {
        static final Logger INSTANCE = EvaLog.create(Log.class);
    }

If there is a file named "eva.log" in the same package it will be used as a properties file to configure the logger. See EvaLog documentation for details.

One property that can be used in the configuration file is the "bundle" property. It is the only property that can be specified when creating the logger also:

    import java.util.logging.Logger;
    import com.eva.log.EvaLog;
		
    class Log {
        static final Logger INSTANCE = EvaLog.create(Log.class, "messages");
    }

In this case a resource bundle with the filename "messages.properties" will be used for the logger. However, if the "bundle" property is present in the configuration file, it will override the additional parameter.