| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.DuckDB.Simple.Logging
Description
Synopsis
- data LogEntry = LogEntry {
- logEntryTimestamp :: !(Maybe UTCTime)
- logEntryLevel :: !Text
- logEntryType :: !Text
- logEntryMessage :: !Text
- registerLogStorage :: Connection -> Text -> (LogEntry -> IO ()) -> IO ()
Documentation
A single log event delivered through DuckDB's log-storage callback.
Constructors
| LogEntry | |
Fields
| |
registerLogStorage :: Connection -> Text -> (LogEntry -> IO ()) -> IO () Source #
Register a custom log storage callback on the database behind a connection.