/* Ċ Ġ* ĠCopyright Ġ 2 0 1 4 - 2 0 2 1 ĠJetBrains Ġs . r . o Ġand Ġcontributors . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense . Ċ Ġ*/ Ċ Ċ package Ġio . ktor . server . application . plugins . api . debug Ċ Ċ import Ġio . ktor . util . debug .* Ċ import Ġio . ktor . util . debug . plugins .* Ċ Ċ internal Ġsuspend Ġfun Ġij Debug Report Handler Started ( plugin Name : ĠString , Ġhandler : ĠString ) Ġ{ ĊĠĠĠ ĠuseContext Element In Debug Mode ( Plugins Trace ) Ġ{ Ġtrace Ġ-> ĊĠĠĠĠĠĠĠ Ġtrace . event Order . add ( Plugin Trace Element ( plugin Name , Ġhandler , ĠPlugin Trace Element . Plugin Event . STARTED )) ĊĠĠĠ Ġ} Ċ } Ċ Ċ internal Ġsuspend Ġfun Ġij Debug Report Handler Finished ( plugin Name : ĠString , Ġhandler : ĠString ) Ġ{ ĊĠĠĠ ĠuseContext Element In Debug Mode ( Plugins Trace ) Ġ{ Ġtrace Ġ-> ĊĠĠĠĠĠĠĠ Ġtrace . event Order . add ( Plugin Trace Element ( plugin Name , Ġhandler , ĠPlugin Trace Element . Plugin Event . FINISHED )) ĊĠĠĠ Ġ} Ċ } Ċ