예제 #1
0
        public static async Task <Guid> WriteAsync(RunningLog log)
        {
            ILoggger    loggger = (ILoggger)Activator.CreateInstance(LogMediator._LoggerImplType);
            Task <Guid> logId   = Task.Run(() => loggger.Write(log));

            return(await logId);
        }
예제 #2
0
        public static Guid Write(RunningLog log)
        {
            ILoggger loggger = (ILoggger)Activator.CreateInstance(LogMediator._LoggerImplType);
            Guid     logId   = loggger.Write(log);

            return(logId);
        }