@@ -23,23 +23,23 @@ libraryDependencies += "org.fluentd" %% "fluent-logger-scala" % "(version)"
2323libraryDependencies += " 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