Skip to content

Commit

Permalink
rename branch master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
emabee committed Sep 23, 2024
1 parent 234889c commit cd2e2d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ other output streams, and that can be influenced while the program is running.**
[![Latest version](https://img.shields.io/crates/v/flexi_logger.svg)](https://crates.io/crates/flexi_logger)
[![Documentation](https://docs.rs/flexi_logger/badge.svg)](https://docs.rs/flexi_logger)
[![License](https://img.shields.io/crates/l/flexi_logger.svg)](https://github.com/emabee/flexi_logger)
[![Build](https://img.shields.io/github/actions/workflow/status/emabee/flexi_logger/ci_test.yml?branch=master)](https://github.com/emabee/flexi_logger/actions?query=workflow%3ACI)
[![Build](https://img.shields.io/github/actions/workflow/status/emabee/flexi_logger/ci_test.yml?branch=main)](https://github.com/emabee/flexi_logger/actions?query=workflow%3ACI)
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)

## Usage
Expand Down Expand Up @@ -186,5 +186,5 @@ An experimental feature that allows using `flexi_logger` functionality with `tra

## Versions

See the [change log](https://github.com/emabee/flexi_logger/blob/master/CHANGELOG.md)
See the [change log](https://github.com/emabee/flexi_logger/blob/main/CHANGELOG.md)
for more details.
2 changes: 1 addition & 1 deletion src/code_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ With [`Logger::format`](crate::Logger::format)
you set the format for all used output channels of `flexi_logger`.

`flexi_logger` provides a couple of format functions, and you can also create and use your own,
e.g. by copying and modifying one of the provided format functions (see [formats.rs](https://github.com/emabee/flexi_logger/blob/master/src/formats.rs)).
e.g. by copying and modifying one of the provided format functions (see [formats.rs](https://github.com/emabee/flexi_logger/blob/main/src/formats.rs)).

Here's an example that you could create somewhere in your code.
It also illustrates the signature the format function must have.
Expand Down

0 comments on commit cd2e2d3

Please sign in to comment.