keter/test/logfile.hs

10 lines
208 B
Haskell
Raw Normal View History

2012-05-17 08:15:25 +04:00
{-# LANGUAGE OverloadedStrings #-}
import Keter.LogFile
import Keter.Prelude
main = runKIO print $ do
Right lf <- start "log/test"
addChunk lf "foo\n"
addChunk lf "bar\n"
addChunk lf "baz\n"