@Test(expected = RuntimeException.class) public void 存在しないメッセージIDを指定すると実行時例外が発生すること() throws RuntimeException { DcCoreLog.create("UNKNOWN"); }
public static DcCoreLog create(String code) { Severity severity = DcCoreMessageUtils.getSeverity(code); if (severity == null) { severity = Severity.WARN; } String message = DcCoreMessageUtils.getMessage(code); return new DcCoreLog(code, severity, message); }
DcCoreLog { public static DcCoreLog create(String code) { Severity severity = DcCoreMessageUtils.getSeverity(code); if (severity == null) { severity = Severity.WARN; } String message = DcCoreMessageUtils.getMessage(code); return new DcCoreLog(code, severity, message); } }
DcCoreLog { public static DcCoreLog create(String code) { Severity severity = DcCoreMessageUtils.getSeverity(code); if (severity == null) { severity = Severity.WARN; } String message = DcCoreMessageUtils.getMessage(code); return new DcCoreLog(code, severity, message); } DcCoreLog(final String code,
            final Severity severity,
            final String message); }
DcCoreLog { public static DcCoreLog create(String code) { Severity severity = DcCoreMessageUtils.getSeverity(code); if (severity == null) { severity = Severity.WARN; } String message = DcCoreMessageUtils.getMessage(code); return new DcCoreLog(code, severity, message); } DcCoreLog(final String code,
            final Severity severity,
            final String message); static void loadConfig(); static DcCoreLog create(String code); String getCode(); DcCoreLog params(final Object... params); DcCoreLog reason(final Throwable t); void writeLog(); }
DcCoreLog { public static DcCoreLog create(String code) { Severity severity = DcCoreMessageUtils.getSeverity(code); if (severity == null) { severity = Severity.WARN; } String message = DcCoreMessageUtils.getMessage(code); return new DcCoreLog(code, severity, message); } DcCoreLog(final String code,
            final Severity severity,
            final String message); static void loadConfig(); static DcCoreLog create(String code); String getCode(); DcCoreLog params(final Object... params); DcCoreLog reason(final Throwable t); void writeLog();  }