Append() приватный Метод

private Append ( string m, ROSOUT_LEVEL lvl ) : void
m string
lvl ROSOUT_LEVEL
Результат void
Пример #1
0
 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);
     }
 }
Пример #2
0
 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);
     }
 }