Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for formatTimestamp (0.16 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            if (rev != null || timestamp != null) {
                msg += " (";
                msg += (rev != null ? rev : "");
                if (timestamp != null && !timestamp.isEmpty()) {
                    String ts = formatTimestamp(Long.parseLong(timestamp));
                    msg += (rev != null ? "; " : "") + ts;
                }
                msg += ")";
            }
            return msg;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cli.CLIReportingUtils.formatDuration;
    import static org.apache.maven.cli.CLIReportingUtils.formatTimestamp;
    
    /**
     * Logs execution events to logger, eventually user-supplied.
     *
     */
    public class ExecutionEventLogger extends AbstractExecutionListener {
        private static final int MAX_LOG_PREFIX_SIZE = 8; // "[ERROR] "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top