org.apache.velocity.runtime.RuntimeSingleton.getLog()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(83)

本文整理了Java中org.apache.velocity.runtime.RuntimeSingleton.getLog方法的一些代码示例,展示了RuntimeSingleton.getLog的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RuntimeSingleton.getLog方法的具体详情如下:
包路径:org.apache.velocity.runtime.RuntimeSingleton
类名称:RuntimeSingleton
方法名:getLog

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);
}

相关文章