Adf.Base.Logging.FlatFileLogProvider.Log C# (CSharp) Method

Log() public method

Log the exception messages with frames on the call stack at the time the current exception was thrown.
public Log ( Exception exception, IUser user ) : void
exception System.Exception The exception of that will logged.
user IUser The Adf.Core.IDomainObject object - not in use.
return void
        public void Log(Exception exception, IUser user)
        {
            if (exception == null) throw new ArgumentNullException("exception");

            Log(LogLevel.Error, exception + Environment.NewLine + Environment.StackTrace, user);
        }

Same methods

FlatFileLogProvider::Log ( LogLevel level, string message, IUser user ) : void
FlatFileLogProvider::Log ( string message, IUser user ) : void