public void displayOSInfo ( Log log , boolean info ) { String string = "OS Info: Arch: " + Os . OS_ARCH + " Family: " + Os . OS_FAMILY + " Name: " + Os . OS_NAME + " Version: " + Os . OS_VERSION ; if ( ! info ) { log . debug ( string ) ; } else { log . info ( string ) ; } }
Log the current OS information .