The documentation is incorrect when it says "Priorities (in descending order)", as the table that follows is actually in **ascending** order.
For example my output says:
LOG_ERR : 4
LOG_WARNING : 5
LOG_DEBUG : 6
An important difference, that caused me some pain!