Skip to content

Commit

Permalink
add output logging
Browse files Browse the repository at this point in the history
  • Loading branch information
allantatter committed Dec 2, 2021
1 parent d8828b3 commit f7a0159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ConsoleOverHttpController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ protected function console(Request $request)

foreach ($process as $type => $data) {
if ($process::OUT === $type) {
\Log::info($data);
echo "\n<span style='color:#ccc'>" . $data . "</span><br />";
} else {
\Log::error($data);
echo "\n<span style='color:red'>" . $data . "</span><br />";
}
}
Expand Down

0 comments on commit f7a0159

Please sign in to comment.