Skip to content

Commit

Permalink
Merge branch 'master' into 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Jun 23, 2020
2 parents b2f6fca + cdeb3d7 commit 672a8e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Logging and Notifications for Laravel Console Commands.
| 5.2.* | [5.2.*](https://github.com/dmitry-ivanov/laravel-console-logger/tree/5.2) |
| 5.1.* | [5.1.*](https://github.com/dmitry-ivanov/laravel-console-logger/tree/5.1) |

![Laravel Console Logger - Demo](doc/img/demo.gif)

## Table of contents

- [Usage](#usage)
Expand Down
Binary file added doc/img/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function composeTitle(array $record)
$environment = app()->environment();
$environment = e(str_upper($environment));
$title .= '<style>.title { padding-bottom: 0 !important; } .subtitle { padding-top: 0 !important; }</style>';
$title .= "<h3 class='subtitle {$levelName}'>This notification was sent from `{$environment}` environment!</h3>";
$title .= "<h3 class='subtitle {$levelName}'>This notification has been sent from the `{$environment}` environment!</h3>";

return $title;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private function composeExpectedOutput(array $record)

$subtitle =
"<style>.title { padding-bottom: 0 !important; } .subtitle { padding-top: 0 !important; }</style>
<h3 class='subtitle {$record['level_name']}'>This notification was sent from `TESTING` environment!</h3>";
<h3 class='subtitle {$record['level_name']}'>This notification has been sent from the `TESTING` environment!</h3>";
if ($this->app->environment('production')) {
$subtitle = '';
}
Expand Down

0 comments on commit 672a8e9

Please sign in to comment.