Enhancement
At present, compiler_base_error only supports emitting diagnostic with colors to stderr, which causes a lot of trouble. Users need to obtain the output strings from stderr and filter out the color symbols by themselves. Therefore, compiler_base_error needs to be able to support output diagnostic redirection, and to be able to output text information without color symbols.