linux/drivers/scsi/lpfc/lpfc_logmsg.h

/*******************************************************************
 * This file is part of the Emulex Linux Device Driver for         *
 * Fibre Channel Host Bus Adapters.                                *
 * Copyright (C) 2017-2023 Broadcom. All Rights Reserved. The term *
 * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.     *
 * Copyright (C) 2004-2009 Emulex.  All rights reserved.           *
 * EMULEX and SLI are trademarks of Emulex.                        *
 * www.broadcom.com                                                *
 *                                                                 *
 * This program is free software; you can redistribute it and/or   *
 * modify it under the terms of version 2 of the GNU General       *
 * Public License as published by the Free Software Foundation.    *
 * This program is distributed in the hope that it will be useful. *
 * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
 * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
 * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
 * more details, a copy of which can be found in the file COPYING  *
 * included with this package.                                     *
 *******************************************************************/

#define LOG_ELS
#define LOG_DISCOVERY
#define LOG_MBOX
#define LOG_INIT
#define LOG_LINK_EVENT
#define LOG_NODE_VERBOSE
#define LOG_FCP
#define LOG_NODE
#define LOG_TEMP
#define LOG_BG
#define LOG_MISC
#define LOG_SLI
#define LOG_FCP_ERROR
#define LOG_LIBDFC
#define LOG_VPORT
#define LOG_LDS_EVENT
#define LOG_EVENT
#define LOG_FIP
#define LOG_FCP_UNDER
#define LOG_SCSI_CMD
#define LOG_NVME
#define LOG_NVME_DISC
#define LOG_NVME_ABTS
#define LOG_NVME_IOERR
#define LOG_RSVD1
#define LOG_RSVD2
#define LOG_CGN_MGMT
#define LOG_TRACE_EVENT
#define LOG_ALL_MSG

void lpfc_dmp_dbg(struct lpfc_hba *phba);
void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...);

/* generate message by verbose log setting or severity */
#define lpfc_vlog_msg(vport, level, mask, fmt, arg...)

#define lpfc_log_msg(phba, level, mask, fmt, arg...)

#define lpfc_printf_vlog(vport, level, mask, fmt, arg...)

#define lpfc_printf_log(phba, level, mask, fmt, arg...)