![]() |
Paradox Game Engine
v1.0.0 beta06
|
Result of a merge. Contains Asset != null if there are no errors. More...
Public Member Functions | |
MergeResult () | |
Initializes a new instance of the MergeResult class. More... | |
MergeResult (Asset asset) | |
Initializes a new instance of the MergeResult class. More... | |
![]() | |
LoggerResult (string moduleName=null) | |
Initializes a new instance of the LoggerResult class. More... | |
virtual void | Clear () |
Clears all messages. More... | |
void | Progress (string message) |
Notifies progress on this instance. More... | |
void | Progress (string message, int currentStep, int stepCount) |
Notifies progress on this instance. More... | |
void | CopyTo (ILogger results) |
Copies all messages to another instance. More... | |
string | ToText () |
Returns a string representation of this More... | |
![]() | |
void | ActivateLog (LogMessageType fromLevel, LogMessageType toLevel=LogMessageType.Fatal, bool enabledFlag=true) |
Activates the log for this logger for a range of LogMessageType. More... | |
void | ActivateLog (LogMessageType type, bool enabledFlag) |
Activates the log for this logger for a specific LogMessageType. More... | |
bool | Activated (LogMessageType type) |
Returns a boolean indicating if a particular LogMessageType is activated. More... | |
void | Log (ILogMessage logMessage) |
Logs the specified log message. More... | |
void | Verbose (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified verbose message with an exception. More... | |
void | Verbose (string message, CallerInfo callerInfo=null) |
Logs the specified verbose message. More... | |
void | Verbose (string messageFormat, params object[] parameters) |
Logs the specified verbose message. More... | |
void | Verbose (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified verbose message with an exception. More... | |
void | Debug (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified debug message with an exception. More... | |
void | Debug (string message, CallerInfo callerInfo=null) |
Logs the specified debug message. More... | |
void | Debug (string messageFormat, params object[] parameters) |
Logs the specified debug message. More... | |
void | Debug (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified debug message with an exception. More... | |
void | Info (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified info message with an exception. More... | |
void | Info (string message, CallerInfo callerInfo=null) |
Logs the specified info message. More... | |
void | Info (string messageFormat, params object[] parameters) |
Logs the specified info message. More... | |
void | Info (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified info message with an exception. More... | |
void | Warning (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified warning message with an exception. More... | |
void | Warning (string message, CallerInfo callerInfo=null) |
Logs the specified warning message. More... | |
void | Warning (string messageFormat, params object[] parameters) |
Logs the specified warning message. More... | |
void | Warning (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified warning message with an exception. More... | |
void | Error (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified error message with an exception. More... | |
void | Error (string message, CallerInfo callerInfo=null) |
Logs the specified error message. More... | |
void | Error (string messageFormat, params object[] parameters) |
Logs the specified error message. More... | |
void | Error (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified error message with an exception. More... | |
void | Fatal (string message, Exception exception, CallerInfo callerInfo=null) |
Logs the specified fatal message with an exception. More... | |
void | Fatal (string message, CallerInfo callerInfo=null) |
Logs the specified fatal message. More... | |
void | Fatal (string messageFormat, params object[] parameters) |
Logs the specified fatal message. More... | |
void | Fatal (string messageFormat, Exception exception, params object[] parameters) |
Logs the specified fatal message with an exception. More... | |
Properties | |
Asset | Asset [get, set] |
Gets or sets the merged asset. This is null when this instance LoggerResult.HasErrors to true. More... | |
![]() | |
new string | Module [get, set] |
Gets the module name. read-write. More... | |
bool | IsLoggingProgressAsInfo [get, set] |
Gets or sets a value indicating whether this instance is logging progress as information. Default is true. More... | |
TrackingCollection< ILogMessage > | Messages [get, set] |
Gets the messages logged to this instance. More... | |
![]() | |
bool | HasErrors [get, set] |
Gets or sets a value indicating whether this instance has errors. More... | |
string | Module [get, set] |
Gets the module name. read-only. More... | |
![]() | |
string | Module [get] |
Gets the module this logger refers to. More... | |
Additional Inherited Members | |
![]() | |
static readonly LogMessageType | MinimumLevelEnabled = LogMessageType.Info |
Gets the minimum level enabled from the config file. More... | |
static readonly bool | IsDebugEnabled = MinimumLevelEnabled <= LogMessageType.Debug |
True if the debug level is enabled at a global level More... | |
static readonly bool | IsVerboseEnabled = MinimumLevelEnabled <= LogMessageType.Verbose |
True if the verbose level is enabled at a global level More... | |
![]() | |
override void | LogRaw (ILogMessage logMessage) |
Internal method used to log a message. All Info, Debug, Error...etc. methods are calling this method. More... | |
![]() | |
Logger () | |
Initializes a new instance of the Logger class. More... | |
![]() | |
readonly bool[] | EnableTypes |
![]() | |
EventHandler < ProgressStatusEventArgs > | ProgressChanged |
Occurs when the progress changed for this logger. More... | |
![]() | |
EventHandler < MessageLoggedEventArgs > | MessageLogged |
Occurs when a message is logged. More... | |
![]() | |
EventHandler < ProgressStatusEventArgs > | ProgressChanged |
An event handler to notify the progress of an operation. More... | |
Result of a merge. Contains Asset != null if there are no errors.
Definition at line 10 of file MergeResult.cs.
SiliconStudio.Assets.Diff.MergeResult.MergeResult | ( | ) |
Initializes a new instance of the MergeResult class.
Definition at line 15 of file MergeResult.cs.
SiliconStudio.Assets.Diff.MergeResult.MergeResult | ( | Asset | asset | ) |
Initializes a new instance of the MergeResult class.
asset | The asset. |
Definition at line 23 of file MergeResult.cs.
|
getset |
Gets or sets the merged asset. This is null
when this instance LoggerResult.HasErrors to true.
The asset.
Definition at line 32 of file MergeResult.cs.