Scatman wrote:Well, Mr. Emperor, what do you think of this instead?
Code: Select all
<LogConfig Category="SERVERINIT">
<LogConfigType Type="STATUS" Color="0" Enabled="True" LogFile="False" Console="True" />
<LogConfigType Type="WARNING" Color="2" Enabled="True" LogFile="False" Console="True" />
<LogConfigType Type="ERROR" Color="3" Enabled="True" LogFile="False" Console="True" />
</LogConfig>
More "XMLie" ?
Yes. I like.
Scatman wrote:
Edit:
I've also changed the value fields of each key to not care about case. Also, the color field can accept a number OR a color's name - (0 or White), (1 or green), (2 or YELLoW), etc
Can we also allow CSS color styles? #FFFFFF = White, #FF0000 = Red, etc? not sure if C++ interprets that easily. I know it loves RGB though (255,255,255) which I'd like to avoid
I would replace 0, 1, 2 with CSS coloring, since no one knows what 0, 1, or 2 is unless we tell them. that seems rather "hard coded".
just sayin