Skip to content

Commit 988257a

Browse files
author
Michael Herold
committed
Updates example
1 parent 6efe00b commit 988257a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Quick example:
4747
``` {.php}
4848
<?php
4949
sd_journal_send('MESSAGE=Hello world.');
50-
sd_journal_send('MESSAGE=Hello, again, world.', 'FIELD2=Greetings!', 'FIELD3=Guten tag.');
51-
sd_journal_send('ARBITRARY=anything', 'FIELD3=Greetings!');
50+
// message with priority "3" (warning) and identifier (also called *TAG*) set to "appname"
51+
sd_journal_send('MESSAGE=Error message','PRIORITY=3', 'SYSLOG_IDENTIFIER=appname');"
5252
```
5353

5454
Notes:

0 commit comments

Comments
 (0)