Sha256: f9bfebe2de980c59e4cb83e9bec235c23c81b7cd5ff7619b8f657dbada5bbc11

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

#
# Author:: Adam Jacob (<adam@opscode.com>)
# Author:: AJ Christensen (<@aj@opsocde.com>)
# Copyright:: Copyright (c) 2008 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# 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.

require 'chef'
require 'mixlib/log'

class Chef
  class Log
    extend Mixlib::Log

    # This is here for compatability, before we moved to
    # Mixlib::Log.
    class Formatter
      def self.show_time=(arg)
        Mixlib::Log::Formatter.show_time = arg
      end

      def self.show_time
        Mixlib::Log::Formatter.show_time
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
runa-chef-0.8.0.1 lib/chef/log.rb
chef-0.7.16 lib/chef/log.rb
giraffesoft-chef-0.7.16 lib/chef/log.rb
giraffesoft-chef-0.7.15 lib/chef/log.rb
chef-0.7.14 lib/chef/log.rb
chef-0.7.12 lib/chef/log.rb
chef-0.7.10 lib/chef/log.rb