Sitelet https://github.com/DragonBox/uplift/pull/93
Skip to content

Feature/logging/verbose - #93

Merged
niezbop merged 4 commits into
masterfrom
feature/logging/verbose
Nov 7, 2019
Merged

niezbop merged 4 commits into
masterfrom
feature/logging/verbose

Conversation

@niezbop

@niezbop niezbop commented Nov 6, 2019

Copy link
Copy Markdown
Member

Add a Preference to enable or disable verbose mode, to reduce the size of the log files

@niezbop
niezbop requested a review from lacostej November 6, 2019 15:00
@niezbop niezbop self-assigned this Nov 6, 2019
Comment thread Assets/Plugins/Editor/Uplift/Common/Logger.cs Outdated
@niezbop
niezbop force-pushed the feature/logging/verbose branch from 1fa1c55 to 14bfdfa Compare November 7, 2019 10:46
LogType logType = LogType.Log)
{
previouslyFilteredType = Debug.logger.filterLogType;
Debug.logger.filterLogType = logType;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK so you are changing all loggers during the time uplift is doing its work.
This also assumes nothing is happening in the background (e.g. threads).

Fine for now, but probably we should just rewrite this log handler by creating a special Logger instance with our file writer in it. It might be more logical.

@niezbop
niezbop merged commit e567dfe into master Nov 7, 2019
@niezbop
niezbop deleted the feature/logging/verbose branch November 7, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants