![]() |
Paradox Game Engine
v1.0.0 beta06
|
A logger that stores added and removed assets of an import operation. More...
Public Member Functions | |
ImportResult () | |
Initializes a new instance of the ImportResult class. More... | |
override void | Clear () |
Clears all messages. More... | |
![]() | |
LoggerResult (string moduleName=null) | |
Initializes a new instance of the LoggerResult class. 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 | |
List< Guid > | RemovedAssets [get, set] |
Gets the list of assets that have been removed from the package. More... | |
List< AssetItem > | AddedAssets [get, set] |
Gets the list of assets that have been added to the package. 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... | |
A logger that stores added and removed assets of an import operation.
Definition at line 13 of file ImportResult.cs.
SiliconStudio.Assets.ImportResult.ImportResult | ( | ) |
Initializes a new instance of the ImportResult class.
Definition at line 18 of file ImportResult.cs.
|
virtual |
Clears all messages.
Reimplemented from SiliconStudio.Core.Diagnostics.LoggerResult.
Definition at line 35 of file ImportResult.cs.
|
getset |
Gets the list of assets that have been added to the package.
Definition at line 33 of file ImportResult.cs.
|
getset |
Gets the list of assets that have been removed from the package.
Definition at line 28 of file ImportResult.cs.