com.github.triceo.splitlog.splitters.SimpleTailSplitter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of splitlog-core Show documentation
Show all versions of splitlog-core Show documentation
These are the core parts of splitlog. This is where the implementations of the public APIs live. Classes from this package come with no API stability guarantees.
package com.github.triceo.splitlog.splitters;
import java.util.Date;
import java.util.List;
import com.github.triceo.splitlog.api.MessageSeverity;
import com.github.triceo.splitlog.api.MessageType;
final public class SimpleTailSplitter extends AbstractTailSplitter {
@Override
public Date determineDate(final List raw) {
return null;
}
@Override
public String determineLogger(final List line) {
return null;
}
@Override
public MessageSeverity determineSeverity(final List raw) {
return MessageSeverity.UNKNOWN;
}
@Override
public MessageType determineType(final List raw) {
return MessageType.LOG;
}
@Override
public boolean isStartingLine(final String line) {
return true;
}
@Override
public String stripOfMetadata(final String line) {
return line;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy