sk0x50 commented on a change in pull request #256:
URL: https://github.com/apache/ignite-3/pull/256#discussion_r685803675



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
##########
@@ -487,4 +501,29 @@ public static void closeAll(Collection<? extends 
AutoCloseable> closeables) thro
     public static void closeAll(AutoCloseable... closeables) throws Exception {
         closeAll(Arrays.asList(closeables));
     }
+
+    /**
+     * Short date format pattern for log messages in "quiet" mode.
+     * Only time is included since we don't expect "quiet" mode to be used
+     * for longer runs.
+     */
+    private static final DateTimeFormatter SHORT_DATE_FMT = 
DateTimeFormatter.ofPattern("HH:mm:ss");
+
+    /**
+     * @param log Logger.
+     * @param msg Message.
+     */
+    public static void dumpStack(IgniteLogger log, String msg) {

Review comment:
       ```
       /**
        * Prints stack trace of the current thread to provided logger.
        *
        * @param log Logger.
        * @param msg Message to print with the stack.
        *
        * @deprecated Calls to this method should never be committed to master.
        */
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to