splitmsg parses the two-character level prefix prepended by msgstr ("D ", "I ", "W ", "E ") and returns the corresponding LogLevel together with the message with that prefix stripped. If the prefix is not recognised, INFO and the original slice are returned.
(p []byte)