Find and share HowTos to various installations / configurations!
-
kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
C# Logviewer color output?
Post
by kilianvp »
My C# Manager has no color output in the Logviewer
using Console.WriteLine wont work but it makes sense.. its like printf in C++ API
ErrHdl wont work too however using ErrHdl works in C++ API
Code: Select all
ErrHdl.Error(ErrClass.ErrPrio.PRIO_INFO, ErrClass.ErrType.ERR_IMPL, "", 0u, "where is my color?");
is there any way to get color?
-
leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: C# Logviewer color output?
Post
by leoknipp »
Coloring is made by the log viewer.
The log files (read by the log viewer) are plain text files without any formatting.
Best Regards
Leopold Knipp
Senior Support Specialist
-
Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: C# Logviewer color output?
Post
by Gertjan van Schijndel »
Try the 'ETM.WCCOA.Trace.TraceEngine.WriteInfo' function or another function from this class.