本文整理了Java中org.apache.velocity.runtime.RuntimeSingleton.getLog
方法的一些代码示例,展示了RuntimeSingleton.getLog
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RuntimeSingleton.getLog
方法的具体详情如下:
包路径:org.apache.velocity.runtime.RuntimeSingleton
类名称:RuntimeSingleton
方法名:getLog
[英]Returns a convenient Log instance that wraps the current LogChute.
[中]返回一个方便的日志实例,用于包装当前日志。
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* Returns a convenient Log instance that wraps the current LogChute.
* Use this to log error messages. It has the usual methods.
*
* @return A convenience Log instance that wraps the current LogChute.
* @since 1.5
*/
public static Log getLog()
{
return RuntimeSingleton.getLog();
}
代码示例来源:origin: org.apache.velocity/velocity-engine-core
/**
* Returns a convenient Log instance that wraps the current LogChute.
* Use this to log error messages. It has the usual methods.
*
* @return A convenience Log instance that wraps the current LogChute.
* @since 1.5
*/
public static Logger getLog()
{
return RuntimeSingleton.getLog();
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* Returns a convenient Log instance that wraps the current LogChute.
* Use this to log error messages. It has the usual methods.
*
* @return A convenience Log instance that wraps the current LogChute.
* @since 1.5
*/
public static Log getLog()
{
return RuntimeSingleton.getLog();
}
代码示例来源: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.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 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 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 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/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);
}
内容来源于网络,如有侵权,请联系作者删除!