Interface IIsLogEnabledGetter
Handles log messages without costing lots of work if the logs are disabled by the user in their user preferences.
Example implementation of SettingGetter
:
public struct CustomLogGetter : IIsLogEnabledGetter
{
bool IIsLogEnabledGetter.IsEnabled(Editor.UserSettings userSettings)
{
// put your custom log setting here
return userSettings.reportCustomLogs;
}
}
Namespace: CarbideFunction.Wildtile
Syntax
public interface IIsLogEnabledGetter