Here you can find the source of log(final PrintStream logger, final Object message)
Parameter | Description |
---|---|
logger | PrintStream |
message | to log. |
public static void log(final PrintStream logger, final Object message)
//package com.java2s; //License from project: Apache License import java.io.PrintStream; public class Main { /**// ww w .j a v a 2s .c o m * Write a message to the given print stream. * * @param logger {@link PrintStream} * @param message to log. */ public static void log(final PrintStream logger, final Object message) { if (logger != null) { logger.println(message); } } }