Java Log Message LOG(String msg, PrintWriter writer)

Here you can find the source of LOG(String msg, PrintWriter writer)

Description

LOG

License

Open Source License

Declaration

public static void LOG(String msg, PrintWriter writer) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.PrintWriter;

public class Main {
    public static void LOG(String msg, PrintWriter writer) {

        String content = "<script language=\"JavaScript\">" + "console.log('" + msg + "');" + "</script>\n";
        writer.append(content);/*from w  w  w .j  a va2 s  .  co m*/
        //writer.flush();
        //writer.close();
        //writer = null;
    }
}

Related

  1. log(String line)
  2. log(String message)
  3. log(String message)
  4. log(String message, PrintStream out)
  5. log(String msg)
  6. logLine(String filePath, String line)
  7. logMessage(String message)
  8. LogMsg(PrintStream logger, String msg)
  9. logMsg(String msg)