Reorganize log levels

Renaming `FAIL` to `ERROR` and including `TRACE` and `FATAL`.