You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,23 @@ Monolog handler for sending log messages and exceptions to Stackify.
5
5
Monolog >= 1.1.0 is supported.
6
6
7
7
Errors and Logs Overview:
8
+
8
9
http://docs.stackify.com/m/7787/l/189767
9
10
10
11
Sign Up for a Trial:
12
+
11
13
http://www.stackify.com/sign-up/
12
14
13
15
## Installation
14
16
Install the latest version with `composer require stackify/monolog`
15
17
16
18
Or add dependency to `composer.json` file:
17
19
```json
18
-
"stackify/monolog": "~1.0",
20
+
"stackify/monolog": "~1.0",
19
21
```
20
22
21
-
By default the handler requires [Stackify agent](https://stackify.screenstepslive.com/s/3095/m/7787/l/119709-installation-for-linux) to be running. There are other ways to send data to Stackify, read about the pros and cons in the [transports](#transport) section.
23
+
## Usage
22
24
23
-
## Basic usage
24
25
```php
25
26
use Monolog\Logger;
26
27
use Stackify\Log\Monolog\Handler as StackifyHandler;
@@ -59,6 +60,20 @@ catch (DbException $ex) {
59
60
}
60
61
```
61
62
63
+
There are three different transport options that can be configured to send data to Stackify. Below will show how to implement the different transport options.
64
+
65
+
### ExecTransport
66
+
67
+
### CurlTransport
68
+
69
+
### AgentTransport
70
+
71
+
72
+
73
+
74
+
75
+
76
+
62
77
## <aname="transport"></a>Transport options
63
78
Handler supports three ways to deliver data to Stackify:
0 commit comments