'

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

08/23/19 20:54:07->MKP Plugins: Logfile [/nas/content/live/mkpusaws/wp-content/MKP Plugins_29.log] cleared
08/23/19 20:54:07->MKP Plugins: Getting name=[verbose] code=[verbose] value=[true]
08/23/19 20:54:07->MKP Plugins: Getting name=[option] code=[class] value=[this]
08/23/19 20:54:07->MKP Plugins: Getting name=[option] code=[method] value=[file_logger]
08/23/19 20:54:07->MKP Plugins: Getting name=[set_option] code=[set_option] value=[true]
08/23/19 20:54:07->MKP Plugins: Doing code=[verbose] name=[verbose] value=[true]
08/23/19 20:54:07->MKP Plugins: Doing code=[class] name=[option] value=[this]
08/23/19 20:54:07->MKP Plugins: Doing code=[method] name=[option] value=[file_logger]
08/23/19 20:54:07->MKP Plugins: Doing code=[set_option] name=[set_option] value=[true]
08/23/19 20:54:07->MKP Plugins: Setting Option verbose = [true]
08/23/19 20:54:07->MKP Plugins: Setting Option class = [this]
08/23/19 20:54:07->MKP Plugins: Setting Option method = [file_logger]
08/23/19 20:54:07->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
08/23/19 20:54:07->MKP Plugins: Getting name=[clear_diagnostics] code=[clear_diagnostics] value=[true]
08/23/19 20:54:07->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]