### Saxon.Api

- BinaryResource
- CatalogCollection
- DirectoryCollection
- DocumentBuilder
- DomDestination
- DynamicContext
- DynamicError
- EmptyEnumerator<T>
- ErrorReporter
- ErrorReporterToStaticError
- ErrorReporterWrapper
- ExtensionFunction
- ExtensionFunctionCall
- ExtensionFunctionDefinition
- Feature<T>
- FeatureKeys
- HostLanguage
- ICollectionFinder
- IErrorReporter
- IInvalidityHandler
- IMessageListener
- IMessageListener2
- InvalidityHandlerWrapper
- IPredicate<in XdmItem>
- IQueryResolver
- IResource
- IResourceCollection
- IResourceFactory
- IResultDocumentHandler
- IXmlLocation
- JarCollection
- NamespaceConstant
- NullDestination
- Predicate<T>
- Predicates
- Processor
- QName
- RawDestination
- RecoveryPolicy
- Resource
- ResourceCollection
- SchemaManager
- SchemaResolver
- SchemaValidationMode
- SchemaValidator
- Serializer
- StandardCollectionFinder
- StandardLogger
- StaticContext
- StaticError
- Step<TInput, TResult>
- Steps
- TextWriterDestination
- TreeModel
- URIQueryParameters
- ValidationFailure
- WhitespacePolicy
- XdmAnyArrayType
- XdmAnyFunctionType
- XdmAnyItemType
- XdmAnyMapType
- XdmAnyNodeType
- XdmArray
- XdmAtomicType
- XdmAtomicValue
- XdmAxis
- XdmDestination
  - - TreeProtector
- XdmEmptySequence
- XdmExternalObjectValue
- XdmFunctionItem
- XdmItem
- XdmItemType
- XdmMap
- XdmNode
- XdmNodeKind
- XdmSequenceType
- XdmValue
- XmlDestination
- XmlProcessingError
- XmlResource
- XPathCompiler
- XPathExecutable
- XPathSelector
- XQueryCompiler
- XQueryEvaluator
- XQueryExecutable
- Xslt30Transformer
- XsltCompiler
- XsltExecutable
  - - ParameterDetails
- XsltPackage
- XsltTransformer

### Saxon.Api

# Class StandardLogger

public class StandardLogger
extends net.sf.saxon.lib.Logger

The default Logger used by Saxon on the .NET platform. All messages are written by default to System.err. The logger can be configured by setting a different output destination, and by setting a minimum threshold for the severity of messages to be output.

### Constructor Summary
StandardLogger () Default constructor that wraps a `TextWriter` to write Saxon messages
StandardLogger (TextWriter w) Constructor method to supply a user defined TextWriter to the logger

### Property Summary
int | Threshold Set the minimum threshold for the severity of messages to be output. Defaults to net.sf.saxon.lib.Logger#INFO. Messages whose severity is below this threshold will be ignored.
net.sf.saxon.dotnet.DotNetWriter | UnderlyingTextWriter Property to get the udnerlying TextWriter object.

### Method Summary
javax.xml.transform.stream.StreamResult | asStreamResult() Java internal streamResult object wrapping the TextWriter
void | println(string str, int severity) Write the message to the TextWriter object

## Constructor Detail

### StandardLogger

public StandardLogger()

Default constructor that wraps a `TextWriter` to write Saxon messages

### StandardLogger

public StandardLogger(TextWriter w)

Constructor method to supply a user defined TextWriter to the logger

Parameters:

`w`

## Property Detail

### Threshold

public int Threshold {get; set; }

Set the minimum threshold for the severity of messages to be output. Defaults to net.sf.saxon.lib.Logger#INFO. Messages whose severity is below this threshold will be ignored.

Parameters:

`threshold` - the minimum severity of messages to be output.

### UnderlyingTextWriter

public net.sf.saxon.dotnet.DotNetWriter UnderlyingTextWriter {get; set; }

Property to get the udnerlying TextWriter object.

## Method Detail

### asStreamResult

public override javax.xml.transform.stream.StreamResult asStreamResult()

Java internal streamResult object wrapping the TextWriter

Returns:

### println

public override void println(string str,
int severity)

Write the message to the TextWriter object

Parameters:

`str` - The message
`severity` - the severity of the error message