Lines Matching defs:Log
58 public class Log extends AbstractLog {
60 public static final Context.Key<Log> logKey = new Context.Key<>();
101 protected void install(Log log) {
116 public DiscardDiagnosticHandler(Log log) {
135 public DeferredDiagnosticHandler(Log log) {
139 public DeferredDiagnosticHandler(Log log, Filter<JCDiagnostic> filter) {
230 /** Get the Log instance for this context. */
231 public static Log instance(Context context) {
232 Log instance = context.get(logKey);
234 instance = new Log(context);
239 * Register a Context.Factory to create a Log.
242 context.put(Log.class, (Context.Factory<Log>) (c -> new Log(c, w)));
249 * If one stream is set in the context, with either Log.outKey or Log.errKey,
253 protected Log(Context context) {
280 protected Log(Context context, PrintWriter writer) {
289 protected Log(Context context, PrintWriter out, PrintWriter err) {
320 protected Log(Context context, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter) {
350 private Log(Context context, Map<WriterKind, PrintWriter> writers) {