本文整理汇总了Java中org.newdawn.slick.util.Log.setVerbose方法的典型用法代码示例。如果您正苦于以下问题:Java Log.setVerbose方法的具体用法?Java Log.setVerbose怎么用?Java Log.setVerbose使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.newdawn.slick.util.Log
的用法示例。
在下文中一共展示了Log.setVerbose方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createDisplay
import org.newdawn.slick.util.Log; //导入方法依赖的package包/类
/**
* Creates display for program, sets title and size among other things.
*/
public static void createDisplay() {
ContextAttribs attribs = new ContextAttribs(3, 3).withForwardCompatible(true).withProfileCore(true);
try {
Display.setDisplayMode(new DisplayMode(Reference.WINDOW_SIZE.width, Reference.WINDOW_SIZE.height));
Display.create(new PixelFormat().withSamples(8).withDepthBits(24), attribs);
Display.setTitle(Reference.WINDOW_TITLE);
GL11.glEnable(GL13.GL_MULTISAMPLE);
} catch (LWJGLException e) {
e.printStackTrace();
}
GL11.glViewport(0, 0, Reference.WINDOW_SIZE.width, Reference.WINDOW_SIZE.height);
Log.setVerbose(false);
lastFrameTime = getCurrentTime();
}
示例2: setVerbose
import org.newdawn.slick.util.Log; //导入方法依赖的package包/类
/**
* Inidcate we want verbose logging
*
* @param verbose True if we want verbose logging (INFO and DEBUG)
*/
public void setVerbose(boolean verbose) {
Log.setVerbose(verbose);
}