Skip to main content

Class MirageLogHandler.Settings

Inheritance
System.Object
Inherited Members
Show
Syntax
[Serializable]
public class Settings

Constructors

Settings(MirageLogHandler.TimePrefix, Boolean, Boolean)

Declaration
public Settings(MirageLogHandler.TimePrefix timePrefix, bool coloredLabel, bool label)
Parameters
TypeNameDescription
Mirage.Logging.MirageLogHandler.TimePrefixtimePrefix
System.BooleancoloredLabel
System.Booleanlabel

Fields

TimePrefix

Declaration
public MirageLogHandler.TimePrefix TimePrefix

ColoredLabel

Declaration
public readonly bool ColoredLabel

Label

Declaration
public readonly bool Label

ColorSeed

Used to change the colors of names number is multiple by hash unchecked, so small changes to seed will cause large changes in result 403 seems like a good starting seed, common class like NetworkServer and NetworkClient have different colors

Declaration
public int ColorSeed

ColorSaturation

Declaration
public float ColorSaturation

ColorValue

Declaration
public float ColorValue

Methods

AllowColorToLabel(String, String)

Declaration
public string AllowColorToLabel(string fullname, string label)
Parameters
TypeNameDescription
System.Stringfullname
System.Stringlabel
Returns
TypeDescription
System.String

ColorFromName(String)

Declaration
public Color ColorFromName(string fullName)
Parameters
TypeNameDescription
System.StringfullName
Returns
TypeDescription
Color