Set output directory to api_log/
Construct parent with $message, $code, & $prev instead of setting them here
Merge branch 'dev'