Skip to content

Commit 2b2737c

Browse files
committed
Fix doc
1 parent 2064b1e commit 2b2737c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ libraryDependencies += "org.fluentd" %% "fluent-logger-scala" % "(version)"
2323
libraryDependencies += "org.fluentd" %% "fluent-logger-scala" % "0.6.0"
2424
```
2525

26+
### API
2627

27-
## API
28-
29-
APIs base on fluent-logger-java.
30-
31-
FluentLoggerFactory#getLogger(tag: String): FluentLogger
32-
FluentLoggerFactory#getLogger(tag: String, host: String, port: Int): FluentLogger
33-
FluentLoggerFactory#getLogger(tag: String, host: String, port: Int, timeout: Int, bufferCapacity: Int): FluentLogger
34-
FluentLoggerFactory#flushAll(): Unit
35-
FluentLoggerFactory#closeAll(): Unit
36-
37-
FluentLogger#log(label: String, key: String, value: Any): Boolean
38-
FluentLogger#log(label: String, key: String, value: Any, timestamp: Long): Boolean
39-
FluentLogger#log(tag:String, mutableMap/immutableMap[String, Any]):Boolean
40-
FluentLogger#flush()
41-
FluentLogger#close()
28+
fluent-logger-scala API is based on fluent-logger-java:
4229

30+
```
31+
FluentLoggerFactory#getLogger(tag: String): FluentLogger
32+
FluentLoggerFactory#getLogger(tag: String, host: String, port: Int): FluentLogger
33+
FluentLoggerFactory#getLogger(tag: String, host: String, port: Int, timeout: Int, bufferCapacity: Int): FluentLogger
34+
FluentLoggerFactory#flushAll(): Unit
35+
FluentLoggerFactory#closeAll(): Unit
36+
37+
FluentLogger#log(label: String, key: String, value: Any): Boolean
38+
FluentLogger#log(label: String, key: String, value: Any, timestamp: Long): Boolean
39+
FluentLogger#log(tag:String, mutableMap/immutableMap[String, Any]):Boolean
40+
FluentLogger#flush()
41+
FluentLogger#close()
42+
```
4343

4444
## For Developers
4545

0 commit comments

Comments
 (0)