Fusion.Log.PrintException C# (CSharp) Method

PrintException() public static method

public static PrintException ( Exception e, string format ) : void
e System.Exception
format string
return void
		public static void PrintException ( Exception e, string format, params object[] args )
		{
			Log.Error( format, args );

			var lines = e.ToString().Split('\n');

			foreach (var line in lines) {
				Log.Error(line);
			}
		}