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
Type | Name | Description |
---|---|---|
Mirage.Logging.MirageLogHandler.TimePrefix | timePrefix | |
System.Boolean | coloredLabel | |
System.Boolean | label |
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
Type | Name | Description |
---|---|---|
System.String | fullname | |
System.String | label |
Returns
Type | Description |
---|---|
System.String |
ColorFromName(String)
Declaration
public Color ColorFromName(string fullName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullName |
Returns
Type | Description |
---|---|
Color |