Skip to content

Commit 98b0fbd

Browse files
committed
nclude loggable
1 parent 4095916 commit 98b0fbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/filewatch/helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# https://raw.githubusercontent.com/rails/rails/v4.2.1/activesupport/lib/active_support/core_ext/file/atomic.rb
44
# change method name to avoid borking active_support and vice versa
55
require 'fileutils'
6+
require "logstash/util/loggable"
67

78
module FileHelper
9+
include LogStash::Util::Loggable
810
extend self
911
# Write to a file atomically. Useful for situations where you don't
1012
# want other processes or threads to see half-written files.

0 commit comments

Comments
 (0)