1-- Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
2-- SPDX-License-Identifier: Apache-2.0
4{-# LANGUAGE RankNTypes #-}
5-- | This is a compatibility module that abstracts over the
6-- concrete choice of logging framework so users can plug in whatever
7-- framework they want to.
8module Development.IDE.Logger
14import qualified Data.Text as T
18 logSeriousError :: HasCallStack => T.Text -> IO ()
19 , logInfo :: HasCallStack => T.Text -> IO ()
20 , logDebug :: HasCallStack => T.Text -> IO ()
21 , logWarning :: HasCallStack => T.Text -> IO ()
24makeNopHandle :: Handle
25makeNopHandle = makeOneHandle $ const $ pure ()
27makeOneHandle :: (HasCallStack => T.Text -> IO ()) -> Handle
28makeOneHandle x = Handle x x x x
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list