mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-10 02:36:27 +02:00
misc: Small cleanups
This commit is contained in:
parent
299be822c4
commit
4aae82bad1
3 changed files with 12 additions and 14 deletions
|
@ -30,10 +30,10 @@ namespace Ryujinx.Common.Logging.Targets
|
|||
string ILogTarget.Name { get => _target.Name; }
|
||||
|
||||
public AsyncLogTargetWrapper(ILogTarget target)
|
||||
: this(target, -1, AsyncLogTargetOverflowAction.Block)
|
||||
: this(target, -1)
|
||||
{ }
|
||||
|
||||
public AsyncLogTargetWrapper(ILogTarget target, int queueLimit, AsyncLogTargetOverflowAction overflowAction)
|
||||
public AsyncLogTargetWrapper(ILogTarget target, int queueLimit = -1, AsyncLogTargetOverflowAction overflowAction = AsyncLogTargetOverflowAction.Block)
|
||||
{
|
||||
_target = target;
|
||||
_messageQueue = new BlockingCollection<LogEventArgs>(queueLimit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue