Java Code Examples for org.eclipse.persistence.logging.SessionLog#loggerCatagories()

The following examples show how to use org.eclipse.persistence.logging.SessionLog#loggerCatagories() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Slf4jSessionLogger.java    From testgrid with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a new instance of Slf4jSessionLogger
 */
public Slf4jSessionLogger() {
   super();
    for (String category : SessionLog.loggerCatagories) {
        addLogger(category, ECLIPSELINK_NAMESPACE + "." + category);
    }
    addLogger(DEFAULT_CATEGORY, DEFAULT_ECLIPSELINK_NAMESPACE);
}
 
Example 2
Source File: Slf4jSessionLogger.java    From gazpachoquest with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Initialize loggers eagerly
 */
private void createCategoryLoggers() {
    for (String category : SessionLog.loggerCatagories) {
        addLogger(category, ECLIPSELINK_NAMESPACE + "." + category);
    }
    // Logger default para cuando no hay categoría.
    addLogger(DEFAULT_CATEGORY, DEFAULT_ECLIPSELINK_NAMESPACE);
}
 
Example 3
Source File: Slf4jSessionLogger.java    From elexis-3-core with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Initialize loggers eagerly
 */
private void createCategoryLoggers(){
	for (String category : SessionLog.loggerCatagories) {
		addLogger(category, ECLIPSELINK_NAMESPACE + "." + category);
	}
	// Logger default para cuando no hay categoría.
	addLogger(DEFAULT_CATEGORY, DEFAULT_ECLIPSELINK_NAMESPACE);
}