def METHOD_NAME(msg):
    if oformat == "github":
        print("::error file={file},line={line},endLine={endLine},title={title}::{message}".format(**msg))
    else:
        print("file={file}, line={line}, endLine={endLine}, title={title}: {message}".format(**msg))