Sha256: f32ebee0cc65d7173b10fb81667155e49185705d18f2625761750dd6ecc5226f
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
# Usage in your gem or application <pre> logs_type = %w(ERROR WARN) # Use custom logs type: ERROR, WARN, FATAL, INFO, DEBUG log_file_path = "log/#{Rails.env}.log" client = RubyForGrafanaLoki.client(log_file_path, logs_type) client.send_all_logs client.send_log("This is a log message.") # not required </pre>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_for_grafana_loki-0.0.4 | README.md |