@awalsh128/winston-vscode
    Preparing search index...

    Function toLocation

    • Converts a VS Code document and optional range to a Location, with a workspace-relative path and 1-based lines. A range that ends on line 0 or stays on one line is a single line.

      Parameters

      • uri: Uri
      • Optionalrange: Range

      Returns Location