Code and error, compile, or run logs belong on a paste service such as Pastebin, Hastebin, GitHub gist, or similar, if it is longer than a few 10 lines. Code and logs should in no case be posted as a screenshot as this makes the log hard to read and parse.
General Publishing Guidelines:
Post log from console tab