| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Development.IDE.Types.Logger
Description
This is a compatibility module that abstracts over the concrete choice of logging framework so users can plug in whatever framework they want to.
Documentation
Constructors
| Telemetry | Events that are useful for gathering user metrics. | 
| Debug | Verbose debug logging. | 
| Info | Useful information in case an error has to be understood. | 
| Warning | These error messages should not occur in a expected usage, and should be investigated. | 
| Error | Such log messages must never occur in expected usage. | 
Instances
| Bounded Priority Source # | |
| Enum Priority Source # | |
| Defined in Development.IDE.Types.Logger | |
| Eq Priority Source # | |
| Ord Priority Source # | |
| Defined in Development.IDE.Types.Logger | |
| Show Priority Source # | |
Note that this is logging actions _of the program_, not of the user. You shouldn't call warning/error if the user has caused an error, only if our code has gone wrong and is itself erroneous (e.g. we threw an exception).
Constructors
| Logger | |
| Fields 
 | |