Docs · API reference · Verso.Abstractions

NotebookMigrationLog Class#

Collects the outcome of running notebook format migrations: an ordered record of the steps applied and any warnings (for example, a document declaring a newer format than this build supports). Callers surface these to logs or diagnostics.

public sealed class NotebookMigrationLog

Inheritance System.Object → NotebookMigrationLog

Properties#

HasWarnings Property#

True when at least one warning was recorded.

public bool HasWarnings { get; }

Property Value#

System.Boolean

Steps Property#

Descriptions of the migration steps that were applied, in order.

public System.Collections.Generic.IReadOnlyList<string> Steps { get; }

Property Value#

System.Collections.Generic.IReadOnlyList<System.String>

Warnings Property#

Warnings raised while migrating, if any.

public System.Collections.Generic.IReadOnlyList<string> Warnings { get; }

Property Value#

System.Collections.Generic.IReadOnlyList<System.String>

Methods#

AddStep(string) Method#

Records an applied migration step.

public void AddStep(string description);

Parameters#

description System.String

AddWarning(string) Method#

Records a warning.

public void AddWarning(string message);

Parameters#

message System.String