I don't know what a WMSLoggerFactory is, but I suspect it's going to want a String. One simple way to convert an Array into a sensible looking string is the Arrays.toString method, which will create a string that looks something like
["foo", "bar", "bletch"]
In this case, you could call it as
System.out.println(WMSLoggerFactory.getGlobalLogValue(Arrays.toString(WMSLoggerIDs.FD_ALL)));
That said, I don't think your question is particularly clear. Judging by that method name, it's going to want some sort of key, not a string representation of an array. What exactly are you trying to print out, and why do you need the WMSLoggerFactory to do this?