aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/log/log.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-22 16:36:44 +0100
committerDavid Robillard <d@drobilla.net>2020-04-10 19:46:04 +0200
commit430284545345539c9ffb31df889debac1d3888b5 (patch)
treedc9bb1f32f0d6fe34a7339221389048e199f14a5 /lv2/log/log.ttl
parentc4514483da1ab4f49148f9c4fe4ff5b559323217 (diff)
downloadlv2-430284545345539c9ffb31df889debac1d3888b5.tar.xz
Move documentation to metadata files and convert it to Markdown
Diffstat (limited to 'lv2/log/log.ttl')
-rw-r--r--lv2/log/log.ttl38
1 files changed, 8 insertions, 30 deletions
diff --git a/lv2/log/log.ttl b/lv2/log/log.ttl
index 1f4f170..f374051 100644
--- a/lv2/log/log.ttl
+++ b/lv2/log/log.ttl
@@ -6,26 +6,15 @@
<http://lv2plug.in/ns/ext/log>
a lv2:Specification ;
+ rdfs:label "LV2 Log" ;
+ rdfs:comment "A feature for writing log messages." ;
rdfs:seeAlso <log.h> ,
- <log.meta.ttl> ;
- lv2:documentation """
-<p>This extension defines a feature, log:log, which allows plugins to print log
-messages with an API much like the standard C printf functions. This allows,
-for example, plugin logs to be nicely presented to the user in a graphical user
-interface.</p>
-
-<p>Different log levels (e.g. <q>error</q> or <q>information</q>) are defined
-by URI and passed as an LV2_URID. This document defines the typical levels
-which should be sufficient, but implementations may define and use additional
-levels to suit their needs.</p>
-""" .
+ <log.meta.ttl> .
log:Entry
a rdfs:Class ;
- rdfs:label "Log Entry" ;
- lv2:documentation """
-<p>A log entry. Subclasses of this class can be passed to LV2_Log_Log methods
-to describe the nature of the log message.</p>""" .
+ rdfs:label "Entry" ;
+ rdfs:comment "A log entry." .
log:Error
a rdfs:Class ;
@@ -49,21 +38,10 @@ log:Trace
a rdfs:Class ;
rdfs:label "Trace" ;
rdfs:subClassOf log:Entry ;
- lv2:documentation """
-<p>A debugging trace. These entries should not be displayed during normal
-operation, but the host may implement an option to display them for debugging
-purposes.</p>
-
-<p>This entry type is special in that it may be written to in a real-time
-thread. It is assumed that if debug tracing is enabled, real-time
-considerations are not a concern.</p>
-""" .
+ rdfs:comment "A debugging trace message." .
log:log
a lv2:Feature ;
- lv2:documentation """
-<p>A feature which plugins may use to log messages. To support this feature,
-the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI
-LV2_LOG__log and data pointed to an instance of LV2_Log_Log.</p>
-""" .
+ rdfs:label "log" ;
+ rdfs:comment "Logging feature." .