本文整理汇总了Java中org.jclouds.logging.Logger类的典型用法代码示例。如果您正苦于以下问题:Java Logger类的具体用法?Java Logger怎么用?Java Logger使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Logger类属于org.jclouds.logging包,在下文中一共展示了Logger类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DelegateLogger
import org.jclouds.logging.Logger; //导入依赖的package包/类
private DelegateLogger(de.uniulm.omi.cloudiator.sword.logging.Logger delegate,
String category) {
checkNotNull(delegate);
checkNotNull(category);
this.delegate = delegate;
this.category = category;
}
示例2: getLogger
import org.jclouds.logging.Logger; //导入依赖的package包/类
public Logger getLogger(String category) {
return new HazelcastLogger(category,
com.hazelcast.logging.Logger.getLogger(category));
}
示例3: createLoggerFactory
import org.jclouds.logging.Logger; //导入依赖的package包/类
@Override
public Logger.LoggerFactory createLoggerFactory() {
return new DelegateLoggerFactory(this.loggerFactory);
}
示例4: getLogger
import org.jclouds.logging.Logger; //导入依赖的package包/类
@Override
public Logger getLogger(String category) {
return new DelegateLogger(this.delegate.getLogger(category), category);
}