Documentation

Lean.Elab.Log

instance Lean.Elab.instMonadLog (m : TypeType) (n : TypeType) [inst : MonadLift m n] [inst : Lean.Elab.MonadLog m] :
Equations
def Lean.Elab.getRefPos {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] :
Equations
def Lean.Elab.getRefPosition {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] :
Equations
def Lean.Elab.logAt {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (ref : Lean.Syntax) (msgData : Lean.MessageData) (severity : optParam Lean.MessageSeverity Lean.MessageSeverity.error) :
Equations
def Lean.Elab.logErrorAt {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (ref : Lean.Syntax) (msgData : Lean.MessageData) :
Equations
def Lean.Elab.logWarningAt {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (ref : Lean.Syntax) (msgData : Lean.MessageData) :
Equations
def Lean.Elab.logInfoAt {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (ref : Lean.Syntax) (msgData : Lean.MessageData) :
Equations
def Lean.Elab.log {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (msgData : Lean.MessageData) (severity : optParam Lean.MessageSeverity Lean.MessageSeverity.error) :
Equations
def Lean.Elab.logError {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (msgData : Lean.MessageData) :
Equations
def Lean.Elab.logWarning {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (msgData : Lean.MessageData) :
Equations
def Lean.Elab.logInfo {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (msgData : Lean.MessageData) :
Equations
def Lean.Elab.logException {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] [inst : MonadLiftT IO m] (ex : Lean.Exception) :
Equations
@[inline]
def Lean.Elab.trace {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] [inst : Lean.MonadOptions m] (cls : Lean.Name) (msg : UnitLean.MessageData) :
Equations
def Lean.Elab.logDbgTrace {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] [inst : Lean.MonadOptions m] (msg : Lean.MessageData) :
Equations
def Lean.Elab.logUnknownDecl {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadLog m] [inst : Lean.AddMessageContext m] (declName : Lean.Name) :
Equations