skner's Logging Toolkit
  • Welcome to skner's Logging Toolkit for Unity
  • Changelog
  • Examples
  • Getting Started
  • Introduction
  • Loggers
    • Class Logger
    • Game Object Logger
    • Global Logger
  • Models
    • Log Context
    • Log Format
    • Log Path
    • Log Tag Holder
  • Output Modules
    • Output Modules
  • Settings
    • Log Level Settings
    • Log Output Settings
    • Logger Settings
Powered by GitBook
On this page
  • Overview
  • BasePath
  1. Models

Log Path

Last updated 1 year ago

Overview

The Log Path is a struct that facilitates the definition of a file path. It contains a BasePath, deriving from common system scoped paths and the relative path. In conjunction, they determine a full path pointing to a folder.

BasePath

The BasePath is an enum that encapsulates Application paths to easily display it in the Unity Inspector:

Here's the BasePath mapping:

BasePath Type
Folder Path

BasePath.GameFiles

BasePath.AppData

BasePath.StreamingAssets

BasePath.None

No BasePath

Application.dataPath
Application.persistentDataPath
Application.streamingAssetsPath
LogPath as seen in the Unity Editor