aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Graylog/UDP.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Graylog/UDP.hs')
-rw-r--r--src/Graylog/UDP.hs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Graylog/UDP.hs b/src/Graylog/UDP.hs
new file mode 100644
index 0000000..6aec108
--- /dev/null
+++ b/src/Graylog/UDP.hs
@@ -0,0 +1,19 @@
1module Graylog.UDP
2 ( Graylog (..)
3 , sendLog
4
5 , module Graylog.Gelf
6 ) where
7
8import Network.Socket
9
10import Graylog.Gelf
11
12data Graylog
13 = Graylog
14 { _graylogHost :: String
15 , _graylogPort :: String
16 }
17
18sendLog :: Graylog -> GELF -> IO ()
19sendLog glog msg = undefined