common/src/main/java/HTTPClient/Log.java
/**
     * Write the given message to the current log if logging for the given facility is
     * enabled.
     *
     * @param facility  the facility which is logging the message
     * @param msg       the message to log
     */
Write the given message to the current log if logging for the given facility is
enabled.

@param facility  the facility which is logging the message
@param msg       the message to log
Write the given message to the current log if logging for the given facility is enabled . @param facility the facility which is logging the message @param msg the message to log
public static void write(int facility, String msg)
    {
	if ((facMask & facility) == 0)
	    return;
	try
	{
	    writePrefix();
	    logWriter.write(msg);
	    logWriter.write(NL);
	    logWriter.flush();
	}
	catch (IOException ioe)
	{
	    System.err.println("Failed to write to log: " + ioe);
	    System.err.println("Failed log Entry was: " + msg);
	}
    }
public static void write ( int facility , String msg ) { if ( ( facMask & facility ) == 0 ) return ; try { writePrefix ( ) ; logWriter . write ( msg ) ; logWriter . write ( NL ) ; logWriter . flush ( ) ; } catch ( IOException ioe ) { System . err . println ( "Failed to write to log: " + ioe ) ; System . err . println ( "Failed log Entry was: " + msg ) ; } }
Write the given message to the current log if logging for the given facility is
 enabled.
Write the given message to the current log if logging for the given facility is enabled .