File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22layout : 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
6161Look 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
6565To have your custom appender included in the standard list of appenders, submit it along
6666with complete working tests.
You can’t perform that action at this time.
0 commit comments