1 16 package com.google.gwt.dev.util.msg; 17 18 import com.google.gwt.core.ext.TreeLogger; 19 import com.google.gwt.core.ext.TreeLogger.Type; 20 21 import java.io.File ; 22 23 26 public final class Message2FileString extends Message2 { 27 28 public Message2FileString(Type type, String fmt) { 29 super(type, fmt); 30 } 31 32 public TreeLogger branch(TreeLogger logger, File f, String s, Throwable caught) { 33 return branch2(logger, f, s, getFormatter(f), getFormatter(s), caught); 34 } 35 36 public void log(TreeLogger logger, File f, String s, Throwable caught) { 37 log2(logger, f, s, getFormatter(f), getFormatter(s), caught); 38 } 39 } 40 | Popular Tags |