com.binance.connector.logging.util.MsEpochConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance-connector-java Show documentation
Show all versions of binance-connector-java Show documentation
lightweight connector to API
package com.binance.connector.logging.util;
import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;
public class MsEpochConverter extends ClassicConverter {
@Override
public String convert(ILoggingEvent e) {
return Long.toString(e.getTimeStamp());
}
}