Update Logs.php

getdate() function returns numbers without leading zero, what is needed, so i changed it to date() function
Fix crash when reading custom log messages

My application is writing custom log messages to the log, these don't have the same format as the Exception-logs.
Because of that, the log-reader would crash because the regex did not return any matches

I changed the regex a bit, so that it supports log messages like:
{code}
2014-11-15 15:00:33 --- INFO: the actual message
{/code}

The type and file are empty for these kind of messages.
Merge pull request #7 from stmn/master

Update Logs.php
Merge pull request #10 from SpadXIII/patch-1

Fix crash when reading custom log messages
Merge pull request #1 from ajaxray/master

from upstream