Copyright | Copyright (C) 2007-2011 John Goerzen <jgoerzen@complete.org> |
---|---|
License | BSD3 |
Maintainer | Richard M. Neswold, Jr. <rich.neswold@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Simple log handlers
Written by Richard M. Neswold, Jr. rich.neswold@gmail.com
Documentation
addTarget :: HostName -> GrowlHandler -> IO GrowlHandler Source
Adds a remote machine's address to the list of targets that will receive log messages. Calling this function sends a registration packet to the machine. This function will throw an exception if the host name cannot be found.
Creates a Growl handler. Once a Growl handler has been created, machines that are to receive the message have to be specified.