1 package com.github.triceo.splitlog.splitters; 2 3 import java.util.Date; 4 import java.util.List; 5 6 import com.github.triceo.splitlog.api.MessageSeverity; 7 import com.github.triceo.splitlog.api.MessageType; 8 9 final public class SimpleTailSplitter extends AbstractTailSplitter { 10 11 @Override 12 public Date determineDate(final List<String> raw) { 13 return null; 14 } 15 16 @Override 17 public String determineLogger(final List<String> line) { 18 return null; 19 } 20 21 @Override 22 public MessageSeverity determineSeverity(final List<String> raw) { 23 return MessageSeverity.UNKNOWN; 24 } 25 26 @Override 27 public MessageType determineType(final List<String> raw) { 28 return MessageType.LOG; 29 } 30 31 @Override 32 public boolean isStartingLine(final String line) { 33 return true; 34 } 35 36 @Override 37 public String stripOfMetadata(final String line) { 38 return line; 39 } 40 41 }