Log system returns string logged

Made logging system return string that are logged so that they can be
fed into exceptions easily.
Added bool Goat element type.