Class BuildLogger
Logging overrides for SBP build logs.
Namespace: UnityEditor.Build.Pipeline.Utilities
Syntax
public static class BuildLogger : object
Methods
Log(Object)
Logs general information.
Declaration
public static void Log(object msg)
Parameters
Type | Name | Description |
---|---|---|
Object | msg | The message object to display. |
Log(String)
Logs general information.
Declaration
public static void Log(string msg)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
Log(String, Object[])
Logs general information.
Declaration
public static void Log(string msg, params object[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
Object[] | attrs | The objects formatted in the message. |
LogCache(String, Object[])
Logs build cache information.
Declaration
public static void LogCache(string msg, params object[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
Object[] | attrs | The objects formatted in the message. |
LogCacheWarning(String, Object[])
Logs a warning about the build cache.
Declaration
public static void LogCacheWarning(string msg, params object[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
Object[] | attrs | The objects formatted in the message. |
LogError(Object)
Logs a general error.
Declaration
public static void LogError(object msg)
Parameters
Type | Name | Description |
---|---|---|
Object | msg | The message object to display. |
LogError(String)
Logs a general error.
Declaration
public static void LogError(string msg)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
LogError(String, Object[])
Logs a general error.
Declaration
public static void LogError(string msg, params object[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
Object[] | attrs | The objects formatted in the message. |
LogException(System.Exception)
Logs a general exception.
Declaration
public static void LogException(System.Exception e)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | e | The exception to display. |
LogWarning(Object)
Logs a general warning.
Declaration
public static void LogWarning(object msg)
Parameters
Type | Name | Description |
---|---|---|
Object | msg | The message object to display. |
LogWarning(String)
Logs a general warning.
Declaration
public static void LogWarning(string msg)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message to display. |
LogWarning(String, Object[])
Logs a general warning.
Declaration
public static void LogWarning(string msg, params object[] attrs)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message object to display. |
Object[] | attrs | The objects formatted in the message. |