Added try..catch to prevent a possible infinitive loop, if an error occurred within Log.submit
New feature: Add custom log levels.