flex.messaging.log.Logger.log()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(6.1k)|赞(0)|评价(0)|浏览(233)

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

Logger.log介绍

[英]The methods named according to log level delegate to this method to log.
[中]根据日志级别命名的方法将此方法委托给日志。

代码示例

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out a warn message.
 *
 * @param message The message to log.
 */
public void warn(String message)
{
  log(LogEvent.WARN, message, null, null);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out a warn message supporting positional parameter substitutions and an
 * associated <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 * @param t The associated <code>Throwable</code>.
 */
public void warn(String message, Object[] parameters, Throwable t)
{
  log(LogEvent.WARN, message, parameters, t);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out an error message supporting positional parameter substitutions.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 */
public void error(String message, Object[] parameters)
{
  log(LogEvent.ERROR, message, parameters, null);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out an info message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void info(String message, Throwable t)
{
  log(LogEvent.INFO, message, null, t);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out an error message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void error(String message, Throwable t)
{
  log(LogEvent.ERROR, message, null, t);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out a warn message supporting positional parameter substitutions.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 */
public void warn(String message, Object[] parameters)
{
  log(LogEvent.WARN, message, parameters, null);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out an error message.
 *
 * @param message The message to log.
 */
public void error(String message)
{
  log(LogEvent.ERROR, message, null, null);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out a debug message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void debug(String message, Throwable t)
{
  log(LogEvent.DEBUG, message, null, t);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out an info message supporting positional parameter substitutions and an
 * associated <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 * @param t The associated <code>Throwable</code>.
 */
public void info(String message, Object[] parameters, Throwable t)
{
  log(LogEvent.INFO, message, parameters, t);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out an error message supporting positional parameter substitutions and an
 * associated <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 * @param t The associated <code>Throwable</code>.
 */
public void error(String message, Object[] parameters, Throwable t)
{
  log(LogEvent.ERROR, message, parameters, t);
}

代码示例来源:origin: apache/flex-blazeds

/**
 * Logs out an error message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void error(String message, Throwable t)
{
  log(LogEvent.ERROR, message, null, t);
}

代码示例来源:origin: apache/flex-blazeds

/**
 * Logs out a fatal message supporting positional parameter substitutions.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 */
public void fatal(String message, Object[] parameters)
{
  log(LogEvent.FATAL, message, parameters, null);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out a debug message.
 *
 * @param message The message to log.
 */
public void debug(String message)
{
  log(LogEvent.DEBUG, message, null, null);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out an info message.
 *
 * @param message The message to log.
 */
public void info(String message)
{
  log(LogEvent.INFO, message, null, null);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out an error message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void error(String message, Throwable t)
{
  log(LogEvent.ERROR, message, null, t);
}

代码示例来源:origin: com.adobe.blazeds/blazeds-common

/**
 * Logs out an error message supporting positional parameter substitutions and an
 * associated <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 * @param t The associated <code>Throwable</code>.
 */
public void error(String message, Object[] parameters, Throwable t)
{
  log(LogEvent.ERROR, message, parameters, t);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out a debug message.
 *
 * @param message The message to log.
 */
public void debug(String message)
{
  log(LogEvent.DEBUG, message, null, null);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out an info message supporting positional parameter substitutions.
 *
 * @param message The message to log.
 * @param parameters Parameters to substitute into the message.
 */
public void info(String message, Object[] parameters)
{
  log(LogEvent.INFO, message, parameters, null);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out a warn message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void warn(String message, Throwable t)
{
  log(LogEvent.WARN, message, null, t);
}

代码示例来源:origin: org.apache.flex.blazeds/flex-messaging-common

/**
 * Logs out a fatal message associated with a <code>Throwable</code>.
 *
 * @param message The message to log.
 * @param t The associated <code>Throwable</code>.
 */
public void fatal(String message, Throwable t)
{
  log(LogEvent.FATAL, message, null, t);
}

相关文章