|
ColdBox Platform v3.8.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.web.services.BaseService
coldbox.system.web.services.DebuggerService
public class DebuggerService
This is the service that powers the ColdBox Debugger.
Constructor Summary | |
---|---|
init(any controller)
Constructor |
Method Summary | |
---|---|
any |
getCookieName()
Get cookieName |
any<Boolean> |
getDebugMode()
I Get the current user's debugmode |
any |
getDebuggerConfig()
Get DebuggerConfig: coldbox |
array |
getProfilers()
Get Profilers |
private any |
getSecretKey()
Get secret key |
any |
getTimers()
Get the timers query from the request |
array |
getTracers()
Get Tracers |
any |
isDebugCookieValid()
Checks if the debug cookie is a valid cookie |
void |
onConfigurationLoad()
Called by loader service when configuration file loads |
void |
popProfiler()
Pop a profiler record |
void |
pushProfiler(query profilerRecord)
Push a profiler record |
void |
pushTracer(string message, [any extraInfo=''])
Push a new tracer |
void |
recordProfiler()
This method will try to push a profiler record |
Any |
renderDebugLog()
Return the debug log |
Any |
renderProfiler()
Renders the execution profilers |
void |
resetProfilers()
Reset all profilers |
void |
resetTracers()
Reset all Tracers |
void |
rotateSecretKey()
I generate a secret key value for the cookie which enables debug mode |
void |
setCookieName(string cookieName)
Set cookieName |
void |
setDebugMode(boolean mode)
I set the current user's debugmode |
void |
setDebuggerConfig(DebuggerConfig DebuggerConfig)
Set DebuggerConfig |
void |
setProfilers(array Profilers)
Set Profilers |
private void |
setSecretKey(string secretKey)
Set secret key |
void |
setTracers(array Tracers)
Set Tracers |
void |
timerEnd(any labelHash='')
End an internal code timer |
any |
timerStart(any label)
Start an internal code timer and get a hash of the timer storage |
any |
timersExist()
Do we have any request timers |
Methods inherited from class coldbox.system.web.services.BaseService |
---|
convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onShutdown, setController
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any controller)
controller
Method Detail |
---|
public any getCookieName()
public any<Boolean> getDebugMode()
public any getDebuggerConfig()
public array getProfilers()
private any getSecretKey()
public any getTimers()
public array getTracers()
public any isDebugCookieValid()
public void onConfigurationLoad()
onConfigurationLoad
in class
BaseService
public void popProfiler()
public void pushProfiler(query profilerRecord)
profilerRecord
- The profiler query for this requestpublic void pushTracer(string message, [any extraInfo=''])
message
- Message to SendextraInfo
- Extra Information to dump on the tracepublic void recordProfiler()
public Any renderDebugLog()
public Any renderProfiler()
public void resetProfilers()
public void resetTracers()
public void rotateSecretKey()
public void setCookieName(string cookieName)
cookieName
public void setDebugMode(boolean mode)
mode
public void setDebuggerConfig(DebuggerConfig DebuggerConfig)
DebuggerConfig
public void setProfilers(array Profilers)
Profilers
private void setSecretKey(string secretKey)
secretKey
public void setTracers(array Tracers)
Tracers
public void timerEnd(any labelHash='')
labelHash
- The timer label hash to stoppublic any timerStart(any label)
label
- The timer label to recordpublic any timersExist()
|
ColdBox Platform v3.8.0 | ||||
FRAMES |