Skip to content

Commit

Permalink
Update docs for v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
usernotnull committed Nov 20, 2021
1 parent 58f60e6 commit e60d4fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ All notable changes will be documented in this file.

```js
// JS
Toast.debug('I will NOT show in a production environment');
Toast.debug('I will NOT show in production! Locally, I will also log in console...', 'A Debug Message');
```

```php
// PHP
toast()
->debug('I will NOT show in a production environment')
->debug('I will NOT show in production! Locally, I will also log in console...', 'A Debug Message')
->push();

// debug also accepts objects as message
toast()
->debug(User::factory()->createOne()->only(['name', 'email']), 'A User Dump')
->push();
```

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ toast()
->debug('I will NOT show in production! Locally, I will also log in console...', 'A Debug Message')
->push();

// debug also accepts objects as message
toast()
->debug(User::factory()->createOne()->only(['name', 'email']), 'A User Dump')
->push();
Expand Down

0 comments on commit e60d4fd

Please sign in to comment.