Log a message at level LevelDebug.
Modulesandwich-0.3.1.0Haskell2010
Test.Sandwich.Logging
Logging functions.
Synopsis
- value debug
- value info
- value warn
- value logError
- value logOther
- value createProcessWithLogging
- value readCreateProcessWithLogging
- value createProcessWithLoggingAndStdin
- value callCommandWithLogging
- value createProcessWithLogging'
- value readCreateProcessWithLogging'
- value createProcessWithLoggingAndStdin'
- value callCommandWithLogging'
- value createProcessWithFileLogging
- value readCreateProcessWithFileLogging
- value createProcessWithFileLoggingAndStdin
- value callCommandWithFileLogging
- value createProcessWithFileLogging'
- value readCreateProcessWithFileLogging'
- value createProcessWithFileLoggingAndStdin'
- value callCommandWithFileLogging'
- Packagesandwich-0.3.1.0
- Exports21
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceLogging.hs
Log a message at level LevelInfo.
Log a message at level LevelWarn.
Log a message at level LevelError.
Log with a custom LogLevel.
Process functions with direct logging
Spawn a process with its stdout and stderr connected to the logging system.
Every line output by the process will be fed to a debug call.
Like readCreateProcess, but capture the stderr output in the logs.
Every line output by the process will be fed to a debug call.
Spawn a process with its stdout and stderr connected to the logging system.
Every line output by the process will be fed to a debug call.
Higher level version of createProcessWithLogging, accepting a shell command.
Spawn a process with its stdout and stderr connected to the logging system.
Like readCreateProcess, but capture the stderr output in the logs.
Spawn a process with its stdout and stderr connected to the logging system.
Higher level version of createProcessWithLogging', accepting a shell command.
Process functions with file logging
Spawn a process with its stdout and stderr logged to files in the test tree.
Like readCreateProcess, but capture the stderr output to a file in the test tree. Returns the stdout output as a String.
Spawn a process with its stdout and stderr logged to files in the test tree, passing the given string as stdin.
Higher level version of createProcessWithFileLogging, accepting a shell command.
Spawn a process with its stdout and stderr logged to files in the test tree.
Like readCreateProcessWithFileLogging, but accepting a name to use for the log files.
Like createProcessWithFileLoggingAndStdin, but accepting a name to use for the log files.
Like callCommandWithFileLogging, but accepting a name to use for the log files.