Allow non-string logging and child exit callbacks
Pass severity to log functions
Merge branch 'severity' into working