fix: WwiseLogger conditioned to WWISE_LOGS
This commit is contained in:
@@ -155,7 +155,7 @@ namespace AK.Wwise.Unity.Logging
|
||||
/// <param name="message">Message to log</param>
|
||||
public static void Log(LogLevel logLevel, string message)
|
||||
{
|
||||
#if (DEVELOPMENT_BUILD || UNITY_EDITOR) || !WWISE_SILENCE_LOGS_IN_RELEASE
|
||||
#if ((DEVELOPMENT_BUILD || UNITY_EDITOR) || !WWISE_SILENCE_LOGS_IN_RELEASE) && WWISE_LOGS
|
||||
if (Instance.logLevel >= logLevel)
|
||||
{
|
||||
switch (logLevel)
|
||||
@@ -190,7 +190,7 @@ namespace AK.Wwise.Unity.Logging
|
||||
/// <param name="args">Formatting arguments</param>
|
||||
public static void LogFormat(LogLevel logLevel, string format, params object[] args)
|
||||
{
|
||||
#if (DEVELOPMENT_BUILD || UNITY_EDITOR) || !WWISE_SILENCE_LOGS_IN_RELEASE
|
||||
#if ((DEVELOPMENT_BUILD || UNITY_EDITOR) || !WWISE_SILENCE_LOGS_IN_RELEASE) && WWISE_LOGS
|
||||
if (Instance.logLevel >= logLevel)
|
||||
{
|
||||
switch (logLevel)
|
||||
|
||||
Reference in New Issue
Block a user