Skip to content

Commit

Permalink
Merge branch 'development' of github.com:Ortus-Solutions/TestBox into…
Browse files Browse the repository at this point in the history
… development
  • Loading branch information
lmajano committed Sep 9, 2024
2 parents e0204b1 + 1c72acd commit 95a12f8
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions system/BaseSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1461,17 +1461,22 @@ component {
/**
* Send some information to the console via writedump( output="console" )
*
* @var The data to send
* @top Apply a top to the dump, by default it does 9999 levels
* @var The data to send
* @top Apply a top to the dump, by default it does 9999 levels
* @showUDFs Show UDFs in the dump, by default it does not
* @label A label to add to the console output
* @label A label to add to the console output
*/
any function console( required var, numeric top = 9999, boolean showUDFs = false, string label="" ){
any function console(
required var,
numeric top = 9999,
boolean showUDFs = false,
string label = ""
){
writeDump(
output = "console",
var = arguments.var,
label = "TestBox Console: #arguments.label#",
top = arguments.top,
output = "console",
var = arguments.var,
label = "TestBox Console: #arguments.label#",
top = arguments.top,
showUDFs = arguments.showUDFs
);
return this;
Expand Down

0 comments on commit 95a12f8

Please sign in to comment.