Skip to content

Commit 6b28a6f

Browse files
committed
Update custom_appenders.md
1 parent 44f38ec commit 6b28a6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/custom_appenders.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
layout: default
33
---
44

5-
## Write your own Custom Appender
5+
## Custom Appender
66

7-
To write your own appender it should meet the following requirements:
7+
To write your own log appender it should meet the following requirements:
88

9-
* Inherit from `SemanticLogger::Base`
9+
* Inherit from `SemanticLogger::Subscriber`
1010
* In the initializer connect to the resource being logged to
1111
* Implement #log(log) which needs to write to the relevant resource
1212
* Implement #flush if the resource can be flushed
@@ -60,7 +60,7 @@ logger.info "Hello World"
6060

6161
Look at the [existing appenders](https://github.com/reidmorrison/semantic_logger/tree/master/lib/semantic_logger/appender) for good examples
6262

63-
### Contribute
63+
### Tests
6464

6565
To have your custom appender included in the standard list of appenders, submit it along
6666
with complete working tests.

0 commit comments

Comments
 (0)