All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.logger.DLoggerFactory Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.logger;

import io.avaje.applog.AppLog;
import io.ebeaninternal.api.SpiLogger;
import io.ebeaninternal.api.SpiLoggerFactory;

/**
 * Default SpiLoggerFactory implementation.
 */
public final class DLoggerFactory implements SpiLoggerFactory {

  /**
   * Just use a standard slf4j Logger.
   */
  @Override
  public SpiLogger create(String name) {
    return new DSpiLogger(AppLog.getLogger(name));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy