add logDatePattern param to logging.console()

customer code want custom date pattern