Sha256: 0a98b9b7e12c451931c591830564da04c0ae1ec72ffa87f6d68e4f6e289ce073

Contents?: true

Size: 1008 Bytes

Versions: 5

Compression:

Stored size: 1008 Bytes

Contents

#
# Fluentd
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#

module Fluent
  DEFAULT_CONFIG_PATH = ENV['FLUENT_CONF'] || '/etc/fluent/fluent.conf'
  DEFAULT_PLUGIN_DIR = ENV['FLUENT_PLUGIN'] || '/etc/fluent/plugin'
  DEFAULT_SOCKET_PATH = ENV['FLUENT_SOCKET'] || '/var/run/fluent/fluent.sock'
  DEFAULT_OJ_OPTIONS = {bigdecimal_load: :float, mode: :compat}
  IS_WINDOWS = /mswin|mingw/ === RUBY_PLATFORM
  private_constant :IS_WINDOWS

  def self.windows?
    IS_WINDOWS
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fluentd-0.14.9 lib/fluent/env.rb
fluentd-0.14.8 lib/fluent/env.rb
fluentd-0.14.7-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.7-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.7 lib/fluent/env.rb