mirror of
https://github.com/varunsridharan/actions-toolkit.git
synced 2025-02-24 15:43:38 +08:00
Added Array handler.
This commit is contained in:
parent
a2dd49e497
commit
5eb79db990
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
function gh_log( $content = '' ) {
|
||||
if ( is_array( $content ) ) {
|
||||
$content = print_r( $content, true );
|
||||
}
|
||||
echo $content . PHP_EOL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue