public static void Info(object o) { Console.WriteLine("[INFO] " + o); if (initialized && rosoutappender == null) { rosoutappender = new RosOutAppender(); } if (initialized) { rosoutappender.Append((string)o, RosOutAppender.ROSOUT_LEVEL.INFO); } }
public static void Info(object o, int level = 1) { Console.WriteLine("[INFO] " + o); if (initialized && rosoutappender == null) { rosoutappender = new RosOutAppender(); } if (initialized) { rosoutappender.Append(o.ToString(), RosOutAppender.ROSOUT_LEVEL.INFO, level + 1); } }