Python Logging Function Name Must Be A String