package tezos-base
Tezos: meta-package and pervasive type definitions for Tezos
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-base.unix/Tezos_base_unix/Syslog/index.html
Module Tezos_base_unix.Syslog
Source
Syslog primitives based on the syslog(3)
function.
See RFC 3164 for more information.
The various kinds of syslog output.
A syslog logger
Creates a syslog logger.
create tag ?path ?with_pid facility
opens the socket or the file path
and returns a syslog logger. Messages logged through this logger with syslog
are prepended with tag
and send to facility
.
path
default value is, if exists, in this order:"dev/log"
,"/var/run/syslog"
,""
- If
with_pid
istrue
(the defaultfalse
), include the caller's PID in each message.
Source
val format_message :
?max_buflen:int ->
tag:string ->
facility:facility ->
with_pid:bool ->
Tezos_event_logging.Internal_event.level ->
string ->
string
format_message ?max_buflen logger level message
formats the given message
depending on logger
and level
max_buflen
is the maximum length of the complete message after which text is replaced by...
. Default to1024
due to original standard.
Source
val syslog :
?max_buflen:int ->
t ->
Tezos_event_logging.Internal_event.level ->
string ->
unit Lwt.t
syslog ?max_buflen logger level message
formats message
(using format_msg
) and sends the result to the logger
file descriptor with the appropriate level
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>