DooPHP provides you logging and profiling features, through DooLogger class which can be accessed by calling Doo::logger().
You can write and rotate the logs to a file in both plain text or XML format. The default is a XML formatted log which is to be used with a future Log/Profile Viewer tool.
It is under development at this current time. Therefore, it is recommended to write log files in xml.