LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-coretracerslog_streamLogEntry
    Class●Since v0.1

    LogEntry

    A single entry in the run log.

    Copy
    LogEntry()

    Bases

    TypedDict

    Constructors

    constructor
    __init__
    NameType
    idstr
    namestr
    typestr
    tagslist[str]
    metadatadict[str, Any]
    start_timestr
    streamed_output_strlist[str]
    streamed_outputlist[Any]
    inputsNotRequired[Any | None]
    final_outputAny | None
    end_timestr | None

    Attributes

    attribute
    id: str

    ID of the sub-run.

    attribute
    name: str

    Name of the object being run.

    attribute
    type: str

    Type of the object being run, eg. prompt, chain, llm, etc.

    attribute
    tags: list[str]

    List of tags for the run.

    attribute
    metadata: dict[str, Any]

    Key-value pairs of metadata for the run.

    attribute
    start_time: str

    ISO-8601 timestamp of when the run started.

    attribute
    streamed_output_str: list[str]

    List of LLM tokens streamed by this run, if applicable.

    attribute
    streamed_output: list[Any]

    List of output chunks streamed by this run, if available.

    attribute
    inputs: NotRequired[Any | None]

    Inputs to this run. Not available currently via astream_log.

    attribute
    final_output: Any | None

    Final output of this run.

    Only available after the run has finished successfully.

    attribute
    end_time: str | None

    ISO-8601 timestamp of when the run ended.

    Only available after the run has finished.

    View source on GitHub