logging improvement from Veikko Makinen
 * allow Layouts to have parameters