The log output of Shlog functions, should include the script name between username and pid to be consistent with Shlogger log rotation utility. BASH_SOURCE does not work as it picks up the shloglib.sh script name.
When solved, update shlog utility to provide -n {ScriptName} to shlogger utility to maintain consistent output.