internal void WriteWarning(MulticulturalString warningText) { Util.Fail("Internal callers should use SafeWriteWarning."); LogManager.Trace("WriteWarning: {0}", warningText); WriteWarning(warningText, true); }
internal void WriteVerbose(MulticulturalString verboseText) { Util.Fail("Internal callers should use SafeWriteVerbose."); LogManager.Trace("WriteVerbose: {0}", verboseText); WriteVerbose(verboseText, true); }
internal void SafeWriteDebug(MulticulturalString debugText) { LogManager.Trace("WriteDebug: {0}", debugText); if (IsOnPipelineThread) { IgnorePipelineStopped(() => WriteDebug(debugText, true)); } else { m_msgLoop.Post(() => WriteDebug(debugText, true)); } }
internal void SafeWriteVerbose(MulticulturalString verboseText) { LogManager.Trace("WriteVerbose: {0}", verboseText); if (IsOnPipelineThread) { IgnorePipelineStopped(() => WriteVerbose(verboseText, true)); } else { m_msgLoop.Post(() => WriteVerbose(verboseText, true)); } }
public override void WriteDebug(MulticulturalString debugText) { ThrowIfDisposed(); Cmdlet.SafeWriteDebug(debugText); }
public override void WriteVerbose(MulticulturalString verboseText) { ThrowIfDisposed(); Cmdlet.SafeWriteVerbose(verboseText); }
// Internal-only stuff: public override void WriteWarning(MulticulturalString warningText) { ThrowIfDisposed(); Cmdlet.SafeWriteWarning(warningText); }
internal void SafeWriteDebug(MulticulturalString debugTextFormat, params object[] inserts) { SafeWriteDebug(Util.McSprintf(debugTextFormat, inserts)); }
internal void SafeWriteVerbose(MulticulturalString verboseTextFormat, params object[] inserts) { SafeWriteVerbose(Util.McSprintf(verboseTextFormat, inserts)); }
internal void SafeWriteWarning(MulticulturalString warningTextFormat, params object[] inserts) { SafeWriteWarning(Util.McSprintf(warningTextFormat, inserts)); }
internal void SafeWriteError(MulticulturalString message, string errorId, ErrorCategory errorCategory, object targetObject) { SafeWriteError(new DbgProviderException(message, errorId, errorCategory, targetObject)); }
internal void SafeWriteError(MulticulturalString message, string errorId, ErrorCategory errorCategory, Exception innerException) { SafeWriteError(new DbgProviderException(message, errorId, errorCategory, innerException)); }