'

MKP Base Report

The “report” action is the same as the “log” action. Here is an example:

mkp_base verbose message=’This is a diagnostic message which will use the notify code to have the message popup on the screen.’ report show_diagnostics]

Output:

MKP Plugins: This is a diagnostic message which will use the notify code to have the message popup on the screen.

Diagnostic Logfile Contents

Logfile: /nas/content/live/mkpusaws/wp-content/MKP Plugins_29.log

01/24/21 03:18:59->MKP Plugins: Options reset to their defualt values
01/24/21 03:18:59->MKP Plugins: Doing code=[option] name=[option] value=[verbose]
01/24/21 03:18:59->MKP Plugins: Doing code=[set_option] name=[set_option] value=[true]
01/24/21 03:18:59->MKP Plugins: Setting Option option = [verbose]
01/24/21 03:20:57->MKP Contacts: Processing MKP Contacts
Shortcode: verbose,Bellingham,list
01/24/21 03:20:57->MKP Contacts: Getting name=[verbose] code=[verbose] value=[true]
01/24/21 03:20:57->MKP Contacts: Getting name=[community] code=[community] value=[Bellingham]
01/24/21 03:20:57->MKP Contacts: Getting name=[list] code=[list] value=[true]
01/24/21 03:20:57->MKP Contacts: Community = [Bellingham]

01/24/21 03:20:57->MKP Contacts: Selecting Contacts without children where region=[] area=[] community=[Bellingham]
01/24/21 03:20:57->MKP Contacts: Region=[United States] Area=[Northwest] Community=[Bellingham]
01/24/21 03:23:27->MKP Plugins: Doing code=[message] name=[message] value=[This is a diagnostic message which will use the notify code to have the message popup on the screen.]
01/24/21 03:23:27->MKP Plugins: Doing code=[report] name=[report] value=[true]
01/24/21 03:23:27->MKP Plugins: This is a diagnostic message which will use the notify code to have the message popup on the screen.
01/24/21 03:23:27->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]