Unable to create methods for struct in go I’ve created a package logging with the following contents: