---
name: "Syslog.write"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Syslog.write"
---

# Syslog.write(3kaya)

Write a log entry

## NAME

Syslog::write - Write a log entry

## SYNOPSIS

**Void write(** *String logmessage, LogLevel level=LogInfo* **)**

## ARGUMENTS

**logmessage** The message to write

**level** The **Syslog.LogLevel (3kaya)** (urgency) of the message. The default is **LogInfo**

## DESCRIPTION

Write a message to the open log handle with the specified priority.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Syslog.close (3kaya)**

**Syslog.open (3kaya)**
