summaryrefslogtreecommitdiff
path: root/Presence/Logging.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/Logging.hs')
-rw-r--r--Presence/Logging.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Presence/Logging.hs b/Presence/Logging.hs
new file mode 100644
index 00000000..f55e2e79
--- /dev/null
+++ b/Presence/Logging.hs
@@ -0,0 +1,17 @@
1module Logging where
2
3import qualified Data.ByteString.Lazy.Char8 as L
4import qualified Data.ByteString.Char8 as S
5import qualified Data.Text.IO as Text
6import qualified Debug.Trace as Debug
7
8
9debugStr str = putStrLn str
10
11debugL bs = L.putStrLn bs
12
13debugS bs = S.putStrLn bs
14
15debugText text = Text.putStrLn text
16
17trace str a = Debug.trace str a