{"repo":"fluent/fluent-logger-golang","free":true,"listed":false,"github":"https://github.com/fluent/fluent-logger-golang","clone":"git clone https://github.com/fluent/fluent-logger-golang.git","description":"A structured logger for Fluentd (Golang)","language":"Go","stars":392,"topics":["golang","fluentd","fluentd-logger"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"fluent-logger-golang ==== A structured event logger for Fluentd (Golang) How to install Usage Install the package with go get and use import to include it in your project. Example data must be a value like map[string]literal , map[string]interface{} , struct or msgp.Marshaler . Logger refers tags msg or codec of each fields of structs. Setting config values FluentNetwork Specify the network protocol. The supported values are: \"tcp\" (use FluentHost and FluentPort ) \"tls\" (use FluentHost and FluentPort ) \"unix\" (use FluentSocketPath ) The default is \"tcp\". FluentHost Specify a hostname or IP address as a string for the destination of the \"tcp\" protocol. The default is \"127.0.0.1\". FluentPort Specify the TCP port of the destination. The default is 24224. FluentSocketPath Specify the unix socket path when FluentNetwork is \"unix\". Timeout Set the timeout value of time.Duration to connect to the destination. The default is 3 seconds. WriteTimeout Sets the timeout value of time.Duration for Write call of logger.Post . Since the default is zero value, Write will not time out. BufferLimit Sets the number of events buffered on the memory. Records will be stored in memory up to this number. If the buffer is full, the call to record logs will fail. The default is 8192. RetryWait Set the duration of the initial wait for the first retry, in milliseconds. The actual retry wait will be r 1.5^(N-1) (r: this value, N: the number of retries). The default is 500. MaxRetry Sets the maximum number","default_branch":null,"files":null,"tree":[],"storefront":"/r/fluent","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fluent/fluent-logger-golang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}