{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2020-05-30T05:47:49Z","object_id":{"id":1858,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_logging","title":"mod_logging","uri":"https:\/\/zotonic.com\/id\/1858"},"seq":1000000}],"predicate":{"id":333,"is_a":["meta","predicate"],"name":"in_module","title":{"_type":"trans","tr":{"en":"In module"}},"uri":"https:\/\/zotonic.com\/id\/in_module"}},"subject":{"objects":[{"created":"2026-09-09T13:48:13Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":1},{"created":"2026-09-09T13:48:13Z","object_id":{"id":2566,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_operator","title":"Operator","uri":"https:\/\/zotonic.com\/id\/2566"},"seq":2},{"created":"2026-09-09T13:48:13Z","object_id":{"id":2607,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_logging_and_monitoring","title":"Logging and monitoring","uri":"https:\/\/zotonic.com\/id\/2607"},"seq":3},{"created":"2026-09-09T13:48:13Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":4},{"created":"2026-09-09T13:48:13Z","object_id":{"id":2657,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_monitor","title":"Monitor","uri":"https:\/\/zotonic.com\/id\/2657"},"seq":5}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2000,"is_a":["text","documentation","reference","model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2000"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_model_model_log","page_url":{"en":"https:\/\/zotonic.com\/docs\/2000\/log","x-default":"https:\/\/zotonic.com\/docs\/2000\/log"},"preview_url":null,"resource":{"version":4042,"pivot_location_lat":null,"title":"log","is_authoritative":true,"body":"<p>Model for runtime logging state and access to server log entries for clients allowed to read logs.<\/p>\n<h2>Available Model API Paths<\/h2>\n<table class=\"table\"><thead><tr><th>Method<\/th><th>Path pattern<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>get<\/code><\/td><td><code>\/is_log_client_allowed\/...<\/code><\/td><td>Return whether the current context may use the live log client channel (<code>mod_logging:is_log_client_allowed\/1<\/code>).<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/is_log_client_session\/...<\/code><\/td><td>Return whether this session is registered as a log-client session (<code>mod_logging:is_log_client_session\/1<\/code>); access denied when log-client use is not allowed.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/is_log_client_active\/...<\/code><\/td><td>Return whether live log-client streaming is currently active for this context (<code>mod_logging:is_log_client_active\/1<\/code>); access denied when log-client use is not allowed.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/<\/code><\/td><td>Return all log rows ordered newest-first, with decoded <code>props<\/code> merged into each row; requires <code>use<\/code> permission on <code>mod_logging<\/code>. No further lookups.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/+index\/...<\/code><\/td><td>Return log row with id <code>+index<\/code> from table <code>log<\/code> (or <code>undefined<\/code> if missing); requires <code>use<\/code> permission on <code>mod_logging<\/code>.<\/td><\/tr><\/tbody><\/table>\n<p><code>\/+name<\/code> marks a variable path segment. A trailing <code>\/...<\/code> means extra path segments are accepted for further lookups.<\/p>","slug":"log","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"e09a6b4b1e213b4f27184df8ae9d5380b697169d5fd8bf647f5240364feed97a","is_featured":false,"content_group_id":{"id":2551,"is_a":["meta","content_group"],"name":"content_group_imported_docs","title":"Imported documentation","uri":"https:\/\/zotonic.com\/id\/content_group_imported_docs"},"category_id":{"id":322,"is_a":["meta","category"],"name":"model","title":"Models","uri":"https:\/\/test.zotonic.com\/id\/322"},"doc_source_path":"apps\/zotonic_mod_logging\/src\/models\/m_log.erl","publication_start":"2023-06-24T08:17:55Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_mod_logging\/src\/models\/m_log.erl","pivot_location_lng":null,"doc_source_kind":"model","name":"doc_model_model_log","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:47:49Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_mod_logging","publication_end":"9999-06-01T00:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_source_commit":"a8d39ae441fb2f444235de92e68d41dd64b41f13\n","erlang_module":"m_log","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-10-15T11:29:27Z","title_slug":"log"},"uri":"https:\/\/zotonic.com\/id\/2000","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2000"}},"status":"ok"}