Skip to content

Commit

Permalink
adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Apr 27, 2020
1 parent e543d78 commit 99fb098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/22_Logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ It will remove logs bounded to given connector **and** object only!
There is also a global log flush workflow. Go to the global jobs config panel and hit the "Flush all logs"
button at the left top corner.

> Be aware that this will truncate the logs tables and can't be undone!
> Be aware this will truncate the logs tables and can't be undone!
## Add Log

```php
$log = $this->logManager->createNewForConnector('your_connnector');

$log->setType('success');
$log->setMessage('My Message'');
$log->setMessage('My Message');
$log->setObjectId(667);

$this->logManager->update($log);
Expand Down

0 comments on commit 99fb098

Please sign in to comment.