$output .= 'error">[ERROR] '; break; case ADI_LOG_FATAL: $output .= 'fatal">[FATAL] '; break; default: $output .= 'debug'; } $output .= str_replace("\n", "<br /> ", $info) . '</span><br />'; echo $output; } } } define('ADINTEGRATION_DEBUG', true); if (class_exists('ADIntegrationPlugin')) { $ADI = new TestADIntegrationPlugin(); } else { die('Plugin missing.'); } $ADI->setLogLevel(ADI_LOG_DEBUG); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ADI Test</title> <style type="text/css"> h1 { font-size: 14pt; } #output { border: 1px solid #eee;