<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="com.motorolamobility.studio.android.logger" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="com.motorolamobility.studio.android.logger" id="configuration" name="Logger Configuration"/> | |
</appInfo> | |
<documentation> | |
<P> | |
This extension point is used to create a custom logger configuration. Components may wish to have custom configuration for it`s logger, by extending the Logger extension point the developer can customize it`s logger in a properties file so the logger can have the desired behaviour. | |
<P> | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<annotation> | |
<appInfo> | |
<meta.element /> | |
</appInfo> | |
</annotation> | |
<complexType> | |
<sequence> | |
<element ref="configuration"/> | |
</sequence> | |
<attribute name="point" type="string" use="required"> | |
<annotation> | |
<documentation> | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string"> | |
<annotation> | |
<documentation> | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string"> | |
<annotation> | |
<documentation> | |
</documentation> | |
<appInfo> | |
<meta.attribute translatable="true"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="configuration"> | |
<complexType> | |
<attribute name="file" type="string" use="required"> | |
<annotation> | |
<documentation> | |
The logger configuration properties file path, relative to the plugins jar file or folder. | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
1.0.0 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
The following is an example | |
of the Logger configuration extension point usage: | |
<p> | |
<pre> | |
<extension | |
point="com.motorola.studio.android.logger.configuration"> | |
<configuration file="customConfiguration.properties"/> | |
</extension> | |
</pre> | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (C) 2012 The Android Open Source Project | |
</documentation> | |
</annotation> | |
</schema> |