예제 #1
0
        public void Log(string tableName)
        {
            var table          = this.GetTable(tableName);
            var authentication = this.CommandContext.GetAuthentication(this);
            var logs           = table.Dispatcher.Invoke(() => table.GetLog(authentication));

            LogProperties.Print(this.Out, logs);
        }
예제 #2
0
        public void LogCategory(string categoryPath)
        {
            var category       = this.GetCategory(categoryPath);
            var authentication = this.CommandContext.GetAuthentication(this);
            var logs           = category.Dispatcher.Invoke(() => category.GetLog(authentication));

            LogProperties.Print(this.Out, logs);
        }
예제 #3
0
        public void Log(string dataBaseName)
        {
            var dataBase       = this.GetDataBase(dataBaseName);
            var authentication = this.CommandContext.GetAuthentication(this);
            var logs           = dataBase.Dispatcher.Invoke(() => dataBase.GetLog(authentication));

            LogProperties.Print(this.Out, logs);
        }