Add Methods Error and Message

Added two new methods, `error` and `message` that log a single line
and use `sprintf` style formatting.

Added `writable` method, that checks if the log file is writable.
formatting for documentation
formatting for documentation
Merge pull request #1 from wilsonodk/new-methods

New methods