logatron 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f667f53157b1d80e125b45c4321c24b6d1d04cd3
4
+ data.tar.gz: f2d011f4c70fb90099457f4ae9f6a8035bea5a55
5
+ SHA512:
6
+ metadata.gz: bc38ae9ef89c3b748f9aa91510d7ebcd81b41ea76bc337ddec26251f3277c52faf4a32700310e32e3a7e4b3845a3d8d3807ac3b09061d3e352d4d3527ed1cb95
7
+ data.tar.gz: 4d184846204159f7a99f2386b4d7f62cf10f7b94889d5bafa2741499d4246a1ae2c52432a23ee67d213576d175f4abb2af047bed695833111ecfdf947948f9eb
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .idea/
2
+ .DS_Store
3
+ *.gem
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in logatron.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,90 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ logatron (0.1.0)
5
+ activesupport (~> 4.2.1)
6
+ lograge (~> 0.3.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (4.2.4)
12
+ actionview (= 4.2.4)
13
+ activesupport (= 4.2.4)
14
+ rack (~> 1.6)
15
+ rack-test (~> 0.6.2)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (4.2.4)
19
+ activesupport (= 4.2.4)
20
+ builder (~> 3.1)
21
+ erubis (~> 2.7.0)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
+ activesupport (4.2.4)
25
+ i18n (~> 0.7)
26
+ json (~> 1.7, >= 1.7.7)
27
+ minitest (~> 5.1)
28
+ thread_safe (~> 0.3, >= 0.3.4)
29
+ tzinfo (~> 1.1)
30
+ builder (3.2.2)
31
+ diff-lcs (1.2.5)
32
+ erubis (2.7.0)
33
+ i18n (0.7.0)
34
+ json (1.8.3)
35
+ lograge (0.3.4)
36
+ actionpack (>= 3)
37
+ activesupport (>= 3)
38
+ railties (>= 3)
39
+ loofah (2.0.3)
40
+ nokogiri (>= 1.5.9)
41
+ mini_portile (0.6.2)
42
+ minitest (5.8.2)
43
+ nokogiri (1.6.6.2)
44
+ mini_portile (~> 0.6.0)
45
+ rack (1.6.4)
46
+ rack-test (0.6.3)
47
+ rack (>= 1.0)
48
+ rails-deprecated_sanitizer (1.0.3)
49
+ activesupport (>= 4.2.0.alpha)
50
+ rails-dom-testing (1.0.7)
51
+ activesupport (>= 4.2.0.beta, < 5.0)
52
+ nokogiri (~> 1.6.0)
53
+ rails-deprecated_sanitizer (>= 1.0.1)
54
+ rails-html-sanitizer (1.0.2)
55
+ loofah (~> 2.0)
56
+ railties (4.2.4)
57
+ actionpack (= 4.2.4)
58
+ activesupport (= 4.2.4)
59
+ rake (>= 0.8.7)
60
+ thor (>= 0.18.1, < 2.0)
61
+ rake (10.4.2)
62
+ rspec (3.3.0)
63
+ rspec-core (~> 3.3.0)
64
+ rspec-expectations (~> 3.3.0)
65
+ rspec-mocks (~> 3.3.0)
66
+ rspec-core (3.3.2)
67
+ rspec-support (~> 3.3.0)
68
+ rspec-expectations (3.3.1)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.3.0)
71
+ rspec-mocks (3.3.2)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.3.0)
74
+ rspec-support (3.3.0)
75
+ thor (0.19.1)
76
+ thread_safe (0.3.5)
77
+ tzinfo (1.2.2)
78
+ thread_safe (~> 0.1)
79
+
80
+ PLATFORMS
81
+ ruby
82
+
83
+ DEPENDENCIES
84
+ bundler (~> 1.10)
85
+ logatron!
86
+ rake (~> 10.0)
87
+ rspec
88
+
89
+ BUNDLED WITH
90
+ 1.10.6
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # Logatron
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/logatron/logatron`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'logatron'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install logatron
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/logatron. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "logatron/logatron"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,8 @@
1
+ module Logatron
2
+ class BasicFormatter
3
+ def call(severity, time, progname, msg)
4
+ msg
5
+ end
6
+ end
7
+ end
8
+
@@ -0,0 +1,63 @@
1
+ module Logatron
2
+ class BasicLogger
3
+ include Logatron::Formatting
4
+
5
+ MAP = {
6
+ Logatron::DEBUG => 0,
7
+ Logatron::INFO => 1,
8
+ Logatron::WARN => 2,
9
+ Logatron::ERROR => 3,
10
+ Logatron::CRITICAL => 4,
11
+ Logatron::FATAL => 5
12
+ }
13
+
14
+ def level=(a_level)
15
+ Logatron.configuration.logger.level = MAP[a_level]
16
+ end
17
+
18
+ def info(msg)
19
+ write(format_log(msg: msg, severity: INFO), MAP[INFO])
20
+ end
21
+
22
+ def warn(msg)
23
+ write(format_log(msg: msg, severity: WARN), MAP[WARN])
24
+ end
25
+
26
+ def debug(msg)
27
+ write(format_log(msg: msg, severity: DEBUG), MAP[DEBUG])
28
+ end
29
+
30
+ def error(msg)
31
+ write(format_log(msg: msg, severity: ERROR), MAP[ERROR])
32
+ end
33
+
34
+ def critical(msg)
35
+ write(format_log(msg: msg, severity: CRITICAL), MAP[CRITICAL])
36
+ end
37
+
38
+ def fatal(msg)
39
+ write(format_log(msg: msg, severity: FATAL), MAP[FATAL])
40
+ end
41
+
42
+ def log(id: '-', site: '-', msg: '-', severity: INFO, request: '-', status: '-', source: '-', &block)
43
+ ml = Logatron::BasicScopedLogger.new(self)
44
+ start = Time.now
45
+ begin
46
+ res = block.call(ml)
47
+ write(format_log(severity: severity, msg: msg, status: status, duration: milliseconds_elapsed(Time.now, start), inputs: source, request: request),MAP[severity])
48
+ res
49
+ rescue Exception => e
50
+ write(format_log(severity: severity, msg: msg, status: status, duration: milliseconds_elapsed(Time.now, start), inputs: source, request: request),MAP[severity])
51
+ ml.flush
52
+ raise e
53
+ end
54
+ end
55
+
56
+ def write(string,severity)
57
+ Logatron.configuration.logger.log(severity, string)
58
+ end
59
+
60
+ end
61
+
62
+ end
63
+
@@ -0,0 +1,54 @@
1
+ module Logatron
2
+ class BasicScopedLogger
3
+ include Logatron::Formatting
4
+
5
+ def initialize(logger)
6
+ @logger = logger
7
+ @logs = {
8
+ DEBUG => [],
9
+ INFO => [],
10
+ WARN => [],
11
+ ERROR => [],
12
+ CRITICAL => [],
13
+ FATAL => []
14
+ }
15
+ end
16
+
17
+ def info(msg)
18
+ write(format_log(msg: msg, severity: INFO), INFO)
19
+ end
20
+
21
+ def warn(msg)
22
+ write(format_log(msg: msg, severity: WARN), WARN)
23
+ end
24
+
25
+ def debug(msg)
26
+ write(format_log(msg: msg, severity: DEBUG), DEBUG)
27
+ end
28
+
29
+ def error(msg)
30
+ write(format_log(msg: msg, severity: ERROR), ERROR)
31
+ end
32
+
33
+ def critical(msg)
34
+ write(format_log(msg: msg, severity: CRITICAL), CRITICAL)
35
+ end
36
+
37
+ def fatal(msg)
38
+ write(format_log(msg: msg, severity: FATAL), FATAL)
39
+ end
40
+
41
+ def write(string, severity=INFO)
42
+ @logs[severity].push string
43
+ end
44
+
45
+ def flush
46
+ Logatron.configuration.loggable_levels.each do |key|
47
+ @logs[key].each do |item|
48
+ @logger.write(item,Logatron::BasicLogger::MAP[key])
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,42 @@
1
+ require 'syslog/logger'
2
+
3
+ module Logatron
4
+ class << self
5
+ attr_accessor :configuration
6
+ end
7
+
8
+ def self.configure
9
+ self.configuration ||= Configuration.new
10
+ yield(configuration)
11
+ end
12
+
13
+ class Configuration
14
+ attr_accessor :logger, :host, :level, :transformer
15
+ attr_reader :loggable_levels, :backtrace_cleaner
16
+
17
+ def initialize
18
+ @logger = Syslog::Logger.new('ascent')
19
+ @transformer = proc {|x| x.to_json}
20
+ @host = `hostname`.chomp
21
+ @level = INFO
22
+ levels = [DEBUG,
23
+ INFO,
24
+ WARN,
25
+ ERROR,
26
+ CRITICAL,
27
+ FATAL]
28
+ @loggable_levels = levels.slice(levels.index(@level), levels.size-1)
29
+ bc = ActiveSupport::BacktraceCleaner.new
30
+ bc.add_filter { |line| line.gsub(Rails.root.to_s, '') } if defined? Rails
31
+ bc.add_silencer { |line| line =~ /gems/ }
32
+ @backtrace_cleaner = bc
33
+ end
34
+
35
+ def logger=(logger)
36
+ level = @logger.level
37
+ @logger = logger
38
+ @logger.level = level
39
+ @logger.formatter = Logatron::BasicFormatter.new
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,10 @@
1
+ module Logatron
2
+ WARN = 'WARN'
3
+ INFO = 'INFO'
4
+ ERROR = 'ERROR'
5
+ CRITICAL = 'CRITICAL'
6
+ FATAL = 'FATAL'
7
+ DEBUG = 'DEBUG'
8
+ MSG_ID = :msg_id
9
+ SITE = :site
10
+ end
@@ -0,0 +1,19 @@
1
+ module Logatron
2
+ class Contexts
3
+ def self.site
4
+ Thread.current[SITE]
5
+ end
6
+
7
+ def self.site=(site)
8
+ Thread.current[SITE] = site
9
+ end
10
+
11
+ def self.msg_id
12
+ Thread.current[MSG_ID]
13
+ end
14
+
15
+ def self.msg_id=(id)
16
+ Thread.current[MSG_ID] = id
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,78 @@
1
+ require 'active_support/all'
2
+ require 'logatron/version'
3
+ require 'logatron/const'
4
+ require 'logatron/contexts'
5
+ require 'logatron/message_formatting'
6
+ require 'logatron/basic_scoped_logger'
7
+ require 'logatron/basic_formatter'
8
+ require 'logatron/basic_logger'
9
+ require 'logatron/configuration'
10
+
11
+ module Logatron
12
+ class << self
13
+ attr_internal :log
14
+
15
+ def logger
16
+ @log ||= Logatron::BasicLogger.new
17
+ end
18
+
19
+ def log_exception(e, severity)
20
+ logger.send(severity.downcase, "#{e.class} #{e.message} -> #{configuration.backtrace_cleaner.clean(e.backtrace).join(' -> ')}")
21
+ end
22
+
23
+ def level=(level)
24
+ logger.level=level
25
+ end
26
+ def error(msg)
27
+ logger.error(msg)
28
+ end
29
+
30
+ def warn(msg)
31
+ logger.warn(msg)
32
+ end
33
+
34
+ def info(msg)
35
+ logger.info(msg)
36
+ end
37
+
38
+ def fatal(msg)
39
+ logger.fatal(msg)
40
+ end
41
+
42
+ def critical(msg)
43
+ logger.critical(msg)
44
+ end
45
+
46
+ def debug(msg)
47
+ logger.debug(msg)
48
+ end
49
+
50
+ def http_headers
51
+ {
52
+ 'X-Ascent-Log-Id' => msg_id
53
+ }
54
+ end
55
+
56
+ def log(id: msg_id, site: Logatron.site, msg: '-', severity: Logatron::INFO, request: '-', status: '-', source: '-', &block)
57
+ logger.log(id: id, site: site, msg: msg, severity: severity, request: request, status: status, source: source, &block)
58
+ end
59
+
60
+ def site
61
+ Logatron::Contexts.site
62
+ end
63
+
64
+ def site=(site)
65
+ Logatron::Contexts.site = site
66
+ end
67
+
68
+ def msg_id
69
+ Logatron::Contexts.msg_id
70
+ end
71
+
72
+ def msg_id=(id)
73
+ Logatron::Contexts.msg_id = id
74
+ end
75
+ end
76
+ end
77
+
78
+ require 'logatron/railtie' if defined?(Rails)
@@ -0,0 +1,25 @@
1
+ module Logatron
2
+ module Formatting
3
+ def milliseconds_elapsed(finish, start)
4
+ (finish - start) * 1000.0
5
+ end
6
+
7
+ def format_log(msg: '-', status: '-', duration: '-', request: '-', inputs: '-', severity: '-')
8
+ Logatron.configuration.transformer.call({
9
+ timestamp: Time.now.iso8601,
10
+ severity: severity,
11
+ host: Logatron.configuration.host,
12
+ id: Contexts.msg_id,
13
+ site: Contexts.site,
14
+ status: status,
15
+ duration: duration,
16
+ request: request,
17
+ source: inputs,
18
+ body: msg
19
+ }) + "\n"
20
+ end
21
+ end
22
+ end
23
+
24
+
25
+
@@ -0,0 +1,40 @@
1
+ module Logatron
2
+ class Middleware
3
+ def initialize(app)
4
+ @app = app
5
+ end
6
+ def call(env)
7
+ request = ActionDispatch::Request.new(env)
8
+ if request.headers['X-Ascent-Log-Id']
9
+ Logatron.msg_id = request.headers['X-Ascent-Log-Id']
10
+ elsif env['rack.session'].nil? or env['rack.session']['warden.user.user.key'].nil?
11
+ Logatron.msg_id = SecureRandom.uuid + '-id-anonymous'
12
+ else
13
+ Logatron.msg_id = SecureRandom.uuid + '-id-' + env['rack.session']['warden.user.user.key'][0][0].to_s
14
+ end
15
+ @app.call(env)
16
+ end
17
+ end
18
+
19
+ class Railtie < Rails::Railtie
20
+
21
+ initializer 'logatron.configure_rails_initialization' do |app|
22
+
23
+ if defined?(Warden::Manager)
24
+ app.middleware.insert_before(Warden::Manager, Logatron::Middleware)
25
+ else
26
+ app.middleware.use Logatron::Middleware
27
+ end
28
+
29
+ end
30
+
31
+
32
+ config.lograge.enabled = true
33
+ config.lograge.formatter = Lograge::Formatters::Json.new
34
+ config.lograge.custom_options = lambda do |event|
35
+ {:source => event.payload[:ip], :severity=> Logatron::INFO, :site => Logatron.site, :timestamp => Time.now.iso8601, :host => Logatron.configuration.host, :id => Logatron.msg_id}
36
+ end
37
+
38
+ end
39
+
40
+ end
@@ -0,0 +1,3 @@
1
+ module Logatron
2
+ VERSION = '0.1.1'
3
+ end
data/logatron.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'logatron/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'logatron'
8
+ spec.version = Logatron::VERSION
9
+ spec.authors = ['Justin Grimes']
10
+ spec.email = ['justin.mgrimes@gmail.com']
11
+
12
+ spec.summary = %q{Logging for ascent }
13
+ spec.description = %q{Logging for ascent }
14
+ spec.homepage = 'http://github.com/indigobio/logatron'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+ spec.add_runtime_dependency 'activesupport', '~> 4.2', '>= 4.2.1'
21
+ spec.add_runtime_dependency 'lograge', '~> 0.3.4'
22
+ spec.add_development_dependency 'bundler', '~> 1.10'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rspec', '~> 3'
25
+ end
metadata ADDED
@@ -0,0 +1,139 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: logatron
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Justin Grimes
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 4.2.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: lograge
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.3.4
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.3.4
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.10'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.10'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '10.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '10.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '3'
89
+ description: 'Logging for ascent '
90
+ email:
91
+ - justin.mgrimes@gmail.com
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - ".gitignore"
97
+ - CODE_OF_CONDUCT.md
98
+ - Gemfile
99
+ - Gemfile.lock
100
+ - README.md
101
+ - Rakefile
102
+ - bin/console
103
+ - bin/setup
104
+ - lib/logatron/basic_formatter.rb
105
+ - lib/logatron/basic_logger.rb
106
+ - lib/logatron/basic_scoped_logger.rb
107
+ - lib/logatron/configuration.rb
108
+ - lib/logatron/const.rb
109
+ - lib/logatron/contexts.rb
110
+ - lib/logatron/logatron.rb
111
+ - lib/logatron/message_formatting.rb
112
+ - lib/logatron/railtie.rb
113
+ - lib/logatron/version.rb
114
+ - logatron.gemspec
115
+ homepage: http://github.com/indigobio/logatron
116
+ licenses: []
117
+ metadata: {}
118
+ post_install_message:
119
+ rdoc_options: []
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ requirements: []
133
+ rubyforge_project:
134
+ rubygems_version: 2.4.5
135
+ signing_key:
136
+ specification_version: 4
137
+ summary: Logging for ascent
138
+ test_files: []
139
+ has_rdoc: