From 756bbe20f1f4ded48e72b71e0fd17fe794bd5e2d Mon Sep 17 00:00:00 2001
From: Dominik Sigmund <dominik.sigmund@br.de>
Date: Fri, 8 May 2020 08:58:28 +0200
Subject: [PATCH] simple bug

---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 2006486..1491b5c 100644
--- a/index.js
+++ b/index.js
@@ -140,7 +140,7 @@ function Log (options) {
         hostname: this.hostname,
         facility: this.name,
         level:level
-        })),this.graylog.port,this.graylog.server,function(error){})
+        })),this.options.graylog.port,this.options.graylog.server,function(error){})
   }
   return this
 }
-- 
GitLab