org.apache.log.Logger.fatalError()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(6.9k)|赞(0)|评价(0)|浏览(140)

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

Logger.fatalError介绍

[英]Log a fatalError priority event.
[中]记录fatalError优先级事件。

代码示例

代码示例来源:origin: commons-logging/commons-logging

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: commons-logging/commons-logging

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: org.apache.avalon.framework/avalon-framework-impl

  1. /**
  2. * Log a fatalError message.
  3. *
  4. * @param message the message
  5. */
  6. public final void fatalError( final String message )
  7. {
  8. m_logger.fatalError( message );
  9. }

代码示例来源:origin: BrightTag/kafkameter

  1. private SyntheticLoadGenerator createGenerator(String className, @Nullable String config) {
  2. try {
  3. return (SyntheticLoadGenerator) Class.forName(
  4. className, false, Thread.currentThread().getContextClassLoader()
  5. ).getConstructor(String.class).newInstance(config);
  6. } catch (Exception e) {
  7. log.fatalError("Exception initializing Load Generator class: " + className, e);
  8. throw Throwables.propagate(e);
  9. }
  10. }

代码示例来源:origin: org.apache.tomcat.extras/tomcat-extras-juli-adapters

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.juli.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: Nextdoor/bender

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: apache/activemq-artemis

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: apache/activemq-artemis

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: apache/activemq-artemis

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: org.apache.openjpa/openjpa-all

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: Nextdoor/bender

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: apache/activemq-artemis

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: org.apache.openjpa/openjpa-all

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#fatal(Object)
  6. */
  7. public void fatal(Object message) {
  8. if (message != null) {
  9. getLogger().fatalError(String.valueOf(message));
  10. }
  11. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.commons.logging

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

  1. /**
  2. * Logs a message with <code>org.apache.log.Priority.FATAL_ERROR</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
  7. */
  8. public void fatal(Object message, Throwable t) {
  9. if (message != null) {
  10. getLogger().fatalError(String.valueOf(message), t);
  11. }
  12. }

相关文章