Methods for Log output

A set of Methods for outputting logs to LogReceiver
under using NetLog; it can be used in the format Log.X.


Methods Listing

public static void v(params System.Object[] Strs)

Output VERBOSE level log
 
Parameters
params System.Object[] Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.v("param1", "param2", "param3");

 

public static void d(params System.Object[] Strs)

Output DEBUG level log
Probably this is the most used method
Equivalent to calling Debug.Log()
 
Parameters
params System.Object[] Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.d("param1", "param2", "param3");

 

public static void i(params System.Object[] Strs)

Output INFO level log
 
Parameters
params System.Object[]Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.i("param1", "param2", "param3");

 

public static void w(params System.Object[] Strs)

Output WARN level log
Equivalent to calling Debug.LogWarning()
 
Parameters
params System.Object[] Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.w("param1", "param2", "param3");

 

public static void e(params System.Object[] Strs)

Output ERROR level log
Equivalent to calling Debug.LogError()
 
Parameters
params System.Object[] Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.e("param1", "param2", "param3");

 

public static void f(params System.Object[] Strs)

Output FATAL level log
 
Parameters
params System.Object[] Strs

    • Designate log of desired output level
    • Because it takes variable arguments, it can be designated like Log.f("param1", "param2", "param3");