Added log module

darcs-hash:20081128220908-1e3d8-a1d8bf98af3b77feb5afc7a986082102da7cd290