updated documentation of log system
- added global convenient functions for logging
- made log system singleton
- updated documentation