Skip to content

Commit

Permalink
Hide debug info from server log
Browse files Browse the repository at this point in the history
  • Loading branch information
edpowley committed Dec 1, 2015
1 parent ccdfafe commit bd432e4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
Binary file modified Assets/Libraries/ShallowNet.dll
Binary file not shown.
Binary file modified Assets/Libraries/ShallowNet.pdb
Binary file not shown.
30 changes: 15 additions & 15 deletions Assets/Scenes/MainGame.unity
Original file line number Diff line number Diff line change
Expand Up @@ -440,35 +440,35 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
value: 320
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_Pivot.x
Expand Down Expand Up @@ -656,35 +656,35 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
value: 190
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_Pivot.x
Expand Down Expand Up @@ -1836,35 +1836,35 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
value: 60
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 120
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22440306, guid: 63b301e6290a0754d92543bac49e5dcb, type: 2}
propertyPath: m_Pivot.x
Expand Down
5 changes: 4 additions & 1 deletion ShallowSeasServer/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ static internal void log(Category category, string message)
if (!s_categoryColours.TryGetValue(category, out color))
color = Color.DarkGray;

ShallowSeasServer.s_mainForm.logWriteLine(color, message);
if (category != Category.Debug)
{
ShallowSeasServer.s_mainForm.logWriteLine(color, message);
}


if (s_logWriter != null)
Expand Down

0 comments on commit bd432e4

Please sign in to comment.