module PeInfo
Copyright 2016 Geoff Williams for Puppet Inc.
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.
Copyright 2016 Geoff Williams for Puppet Inc.
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.
Constants
- VERSION
Public Class Methods
lazy-init logger to be a regular ruby logger instance. If you want something else, call logger= before doing things that generate logging …based on stackoverflow.com/a/6768164
# File lib/pe_info.rb, line 23 def self.logger @logger ||= Logger.new(STDOUT) end
# File lib/pe_info.rb, line 27 def self.logger=(logger) @logger = logger end