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
  • Fields
  1. Models

Log Tag Holder

Last updated 1 year ago

Overview

The LogTagHolder is a struct that holds native values for all the , in form of tags. These tag values are used to replace a into a full string, containing all the required context for the log message.

This struct plays a pivotal role in the logging pipeline, working hand-in-hand with the to format and organize log data for various output destinations.

Fields

Field
Type
Description

Timestamp

string

Timestamp when the log message was created.

LogLevelName

string

Name of the log level associated with the log message.

LogLevelHexColor

string

Hexadecimal color code associated with the log level.

SourceLogger

string

Source label for the logger from which the log message originated.

LineNumber

int?

Line number in the source code where the log message was generated.

ClassName

string

Full class name from which the log message originated.

MethodName

string

Method name from which the log message originated.

Message

string

Log message.

StackTrace

string

Stack trace associated with the log message.

LogContext
LogFormat
LogOutputSettings