[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:21:13 UTC 2010


The following commit has been merged in the master branch:
commit d7fa90639cdf1fcd8b9097e6d4e4e8df29c445ee
Author: John Goerzen <jgoerzen at complete.org>
Date:   Thu Mar 1 23:38:54 2007 +0100

    Removed Log.hs (it moved to hslogger awhile back)

diff --git a/src/System/Log.hs b/src/System/Log.hs
deleted file mode 100644
index 26d934a..0000000
--- a/src/System/Log.hs
+++ /dev/null
@@ -1,72 +0,0 @@
-{- arch-tag: Logging Main Definition
-Copyright (C) 2004 John Goerzen <jgoerzen at complete.org>
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
--}
-
-{- |
-   Module     : System.Log
-   Copyright  : Copyright (C) 2004 John Goerzen
-   License    : GNU GPL, version 2 or above
-
-   Maintainer : John Goerzen <jgoerzen at complete.org> 
-   Stability  : experimental
-   Portability: portable
-
-Haskell Logging Framework
-
-Written by John Goerzen, jgoerzen\@complete.org
-
-This module defines basic types used for logging.
-
-/This API is new and in a state of flux./
-
-Extensive documentation is available in
-"System.Log.Logger".
-
--}
-
-
-
-module System.Log(-- * Types
-                        Priority(..),
-                        LogRecord
-)
-
-    where
-
-{- | Priorities are used to define how important a log messgae is.
-Users can filter log messages based on priorities.
-
-These have their roots on the traditional syslog system.  The standard
-definitions are given below, but you are free to interpret them however you
-like.  They are listed here in ascending importance order.
--}
-
-data Priority = 
-            DEBUG                   -- ^ Debug messages
-          | INFO                    -- ^ Information
-          | NOTICE                  -- ^ Normal runtime conditions
-          | WARNING                 -- ^ General Warnings
-          | ERROR                   -- ^ General Errors
-          | CRITICAL                -- ^ Severe situations
-          | ALERT                   -- ^ Take immediate action
-          | EMERGENCY               -- ^ System is unusable
-                    deriving (Eq, Ord, Show, Read)
-
-{- | Internal type of log records -}
-
-type LogRecord = (Priority, String)
-

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list