Explore documentation
Tokens
Introduction
This is an article.
Internal links work, even with anchoring and self-anchoring.
Syntax highlighting
Take a look at Github Docs
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.
Set up Logtail
import { Logtail } from "@logtail/browser";
const logtail = new Logtail("$TOKEN");
Hello
So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.
Team token
Your Logtail token is $TOKEN
So I started to walk into the water. I won't lie to you boys, I was terrified.
Ruby
PHP
Output
require "logtail"
http_device = Logtail::LogDevices::HTTP.new("$TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger;
use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$TOKEN"));
123456789 123456789
Water
Hello
So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.
Ruby
PHP
require "logtail"
http_device = Logtail::LogDevices::HTTP.new("$TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger;
use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$TOKEN"));
Example #1
Example #2
Output
require "logtail"
http_device = Logtail::LogDevices::HTTP.new("$TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger;
use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$TOKEN"));
123456789 123456789
Hello again