Fixed a bug where the warn function was using a non-existent LoggerLevel. Also fixed a typo bug where the instance-specific LoggerLevel name was used instead of the name assigned to each logging function. Changed the implementation of each logging function to use apply when calling privateLogger, so that I can pass a reference to this.