'

MKP Base Use Default Diagnostic Handler

mkp_base clear_diagnostics
mkp_base verbose option=class+this,method+file_logger set_option
mkp_base show_diagnostics clear_diagnostics

Output:


MKP Plugins: Setting Option verbose = [true]

MKP Plugins: Setting Option class = [this]

MKP Plugins: Setting Option method = [file_logger]


Diagnostic Logfile Contents

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

12/15/19 03:35:21->MKP Plugins: Logfile [/nas/content/live/mkpusaws/wp-content/MKP Plugins_29.log] cleared
12/15/19 03:35:21->MKP Plugins: Getting name=[verbose] code=[verbose] value=[true]
12/15/19 03:35:21->MKP Plugins: Getting name=[option] code=[class] value=[this]
12/15/19 03:35:21->MKP Plugins: Getting name=[option] code=[method] value=[file_logger]
12/15/19 03:35:21->MKP Plugins: Getting name=[set_option] code=[set_option] value=[true]
12/15/19 03:35:21->MKP Plugins: Doing code=[verbose] name=[verbose] value=[true]
12/15/19 03:35:21->MKP Plugins: Doing code=[class] name=[option] value=[this]
12/15/19 03:35:21->MKP Plugins: Doing code=[method] name=[option] value=[file_logger]
12/15/19 03:35:21->MKP Plugins: Doing code=[set_option] name=[set_option] value=[true]
12/15/19 03:35:21->MKP Plugins: Setting Option verbose = [true]
12/15/19 03:35:21->MKP Plugins: Setting Option class = [this]
12/15/19 03:35:21->MKP Plugins: Setting Option method = [file_logger]
12/15/19 03:35:21->MKP Plugins: Old option = [a:15:{s:7:"enabled";b:1;s:7:"verbose";b:1;s:12:"do_backtrace";i:0;s:7:"logfile";s:15:"MKP Plugins.log";s:7:"handler";a:2:{s:5:"class";s:8:"MKP_Base";s:6:"method";s:11:"file_logger";}s:16:"show_all_igroups";b:0;s:21:"show_loggedin_igroups";b:0;s:6:"source";s:13:"MKP Plugins: ";s:8:"autoload";a:4:{s:11:"communities";b:0;s:8:"contacts";b:0;s:7:"igroups";b:0;s:6:"mapper";b:0;}s:17:"table_name_prefix";s:7:"mkpusa_";s:19:"options_name_prefix";s:10:"mkpusa_29_";s:19:"google_api_key_name";s:18:"mkp_google_api_key";s:20:"google_api_key_value";s:39:"AIzaSyCWAeHwGr8pb9CnYoI-Ws34ju6oZ9yz6Zo";s:6:"loaded";a:2:{s:7:"igroups";b:1;s:6:"mapper";b:1;}s:6:"option";s:8:"function";}]
12/15/19 03:35:21->MKP Plugins: New Option = [a:15:{s:7:"enabled";b:1;s:7:"verbose";b:1;s:12:"do_backtrace";i:0;s:7:"logfile";s:15:"MKP Plugins.log";s:7:"handler";a:2:{s:5:"class";s:8:"MKP_Base";s:6:"method";s:11:"file_logger";}s:16:"show_all_igroups";b:0;s:21:"show_loggedin_igroups";b:0;s:6:"source";s:13:"MKP Plugins: ";s:8:"autoload";a:4:{s:11:"communities";b:0;s:8:"contacts";b:0;s:7:"igroups";b:0;s:6:"mapper";b:0;}s:17:"table_name_prefix";s:7:"mkpusa_";s:19:"options_name_prefix";s:10:"mkpusa_29_";s:19:"google_api_key_name";s:18:"mkp_google_api_key";s:20:"google_api_key_value";s:39:"AIzaSyCWAeHwGr8pb9CnYoI-Ws34ju6oZ9yz6Zo";s:6:"loaded";a:0:{}s:6:"option";s:8:"function";}]
12/15/19 03:35:21->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
12/15/19 03:35:21->MKP Plugins: Getting name=[clear_diagnostics] code=[clear_diagnostics] value=[true]
12/15/19 03:35:21->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]