intra-mart Accel Kaiden! / Programming Guide

«  IM-Workflow Matter Number Allocation Function Creation   ::   Contents   ::   Internationalization  »

Log Output

For log output in intra-mart Accel Kaiden!, jp.co.slcs.kaiden2.base.foundation.util.log.KaidenLogger class is used.
It can be output by following log level.
  • trace  (trivial)
  • debug
  • info
  • warn
  • error  (most important)
    String logMsg = "log message";

    // output trace log
    KaidenLogger.trace(logMsg);

    // output debug log
    KaidenLogger.debug(logMsg);

    // output info log
    KaidenLogger.info(logMsg);

    // output warn log
    KaidenLogger.warn(logMsg);
    
    // output error log
    KaidenLogger.error(logMsg);

Notes

If you use KaidenLogger class, logger name will be [KAIDEN_LOG] and log setting is set in [WEB-INF/conf/log/kaiden_logger.xml].

Notes

Please refer to JavaDoc in KaidenLogger class.

«  IM-Workflow Matter Number Allocation Function Creation   ::   Contents   ::   Internationalization  »