本文整理了Java中org.apache.velocity.app.Velocity.getLog()
方法的一些代码示例,展示了Velocity.getLog()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Velocity.getLog()
方法的具体详情如下:
包路径:org.apache.velocity.app.Velocity
类名称:Velocity
方法名:getLog
[英]Returns a convenient Log instance that wraps the current LogChute. Use this to log error messages. It has the usual methods.
[中]返回一个方便的日志实例,用于包装当前日志。使用此选项记录错误消息。它有通常的方法。
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @deprecated Use getLog() and call error() on it.
* @see Log#error(Object)
* @param message The message to log.
*/
public static void error(Object message)
{
getLog().error( message );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @deprecated Use getLog() and call error() on it.
* @see Log#error(Object)
* @param message The message to log.
*/
public static void error(Object message)
{
getLog().error( message );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @deprecated Use getLog() and call warn() on it.
* @see Log#warn(Object)
* @param message The message to log.
*/
public static void warn(Object message)
{
getLog().warn( message );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @deprecated Use getLog() and call info() on it.
* @see Log#info(Object)
* @param message The message to log.
*/
public static void info(Object message)
{
getLog().info( message );
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @deprecated Use getLog() and call warn() on it.
* @see Log#warn(Object)
* @param message The message to log.
*/
public static void warn(Object message)
{
getLog().warn( message );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @deprecated Use getLog() and call debug() on it.
* @see Log#debug(Object)
* @param message The message to log.
*/
public static void debug(Object message)
{
getLog().debug( message );
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @deprecated Use getLog() and call info() on it.
* @see Log#info(Object)
* @param message The message to log.
*/
public static void info(Object message)
{
getLog().info( message );
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @deprecated Use getLog() and call debug() on it.
* @see Log#debug(Object)
* @param message The message to log.
*/
public static void debug(Object message)
{
getLog().debug( message );
}
代码示例来源:origin: org.apache.velocity/velocity-engine-core
getLog().error(msg);
throw new ResourceNotFoundException(msg);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
getLog().error(msg);
throw new ResourceNotFoundException(msg);
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
getLog().error(msg);
throw new ResourceNotFoundException(msg);
代码示例来源:origin: org.w3c.css/css-validator
Velocity.getLog().info("IndexGenerator : " + count + " index file(s) created or modified");
done = true;
} catch (ResourceNotFoundException e) {
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
getLog().error(msg, ioe);
throw new VelocityException(msg, ioe);
内容来源于网络,如有侵权,请联系作者删除!