monolog-1.0.xsd 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://symfony.com/schema/dic/monolog"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://symfony.com/schema/dic/monolog"
  5. elementFormDefault="qualified">
  6. <xsd:element name="config" type="config" />
  7. <xsd:complexType name="config">
  8. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  9. <xsd:element name="handler" type="handler" />
  10. </xsd:choice>
  11. </xsd:complexType>
  12. <xsd:complexType name="handler">
  13. <xsd:sequence>
  14. <xsd:element name="email-prototype" type="email-prototype" minOccurs="0" maxOccurs="1" />
  15. <xsd:element name="member" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
  16. </xsd:sequence>
  17. <xsd:attribute name="type" type="xsd:string" />
  18. <xsd:attribute name="priority" type="xsd:integer" />
  19. <xsd:attribute name="level" type="level" />
  20. <xsd:attribute name="bubble" type="xsd:boolean" />
  21. <xsd:attribute name="path" type="xsd:string" />
  22. <xsd:attribute name="id" type="xsd:string" />
  23. <xsd:attribute name="name" type="xsd:string" use="required" />
  24. <xsd:attribute name="ident" type="xsd:string" />
  25. <xsd:attribute name="facility" type="xsd:string" />
  26. <xsd:attribute name="action-level" type="level" />
  27. <xsd:attribute name="buffer-size" type="xsd:integer" />
  28. <xsd:attribute name="max-files" type="xsd:integer" />
  29. <xsd:attribute name="handler" type="xsd:string" />
  30. <xsd:attribute name="from-email" type="xsd:string" />
  31. <xsd:attribute name="to-email" type="xsd:string" />
  32. <xsd:attribute name="subject" type="xsd:string" />
  33. <xsd:attribute name="formatter" type="xsd:string" />
  34. </xsd:complexType>
  35. <xsd:simpleType name="level">
  36. <xsd:restriction base="xsd:string">
  37. <xsd:enumeration value="debug" />
  38. <xsd:enumeration value="info" />
  39. <xsd:enumeration value="warning" />
  40. <xsd:enumeration value="error" />
  41. <xsd:enumeration value="critical" />
  42. <xsd:enumeration value="alert" />
  43. <xsd:enumeration value="100" />
  44. <xsd:enumeration value="200" />
  45. <xsd:enumeration value="300" />
  46. <xsd:enumeration value="400" />
  47. <xsd:enumeration value="500" />
  48. <xsd:enumeration value="550" />
  49. </xsd:restriction>
  50. </xsd:simpleType>
  51. <xsd:complexType name="email-prototype">
  52. <xsd:attribute name="id" type="xsd:string" />
  53. <xsd:attribute name="method" type="xsd:string" />
  54. </xsd:complexType>
  55. </xsd:schema>