Error tokens
Every error used by the library is an error token. You can use it to do comparisons like this:
e := AsyncHandleLog(...)if e == logger.ErrNilWaitGroup { ...}
You will find all the error tokens inside the errors.go file, under the root package.