diff --git a/src/site/antora/modules/ROOT/nav.adoc b/src/site/antora/modules/ROOT/nav.adoc index e489d589..b4cc4e7a 100644 --- a/src/site/antora/modules/ROOT/nav.adoc +++ b/src/site/antora/modules/ROOT/nav.adoc @@ -15,11 +15,11 @@ limitations under the License. //// +* xref:download.adoc[] * xref:development.adoc[] * xref:manual/index.adoc[] ** xref:manual/configuration.adoc[] * xref:features.adoc[] * xref:release-notes.adoc[] -* {logging-services-url}/download.html[Download] * {logging-services-url}/support.html[Support] * {logging-services-url}/security.html[Security] diff --git a/src/site/antora/modules/ROOT/pages/download.adoc b/src/site/antora/modules/ROOT/pages/download.adoc new file mode 100644 index 00000000..9fa57ea7 --- /dev/null +++ b/src/site/antora/modules/ROOT/pages/download.adoc @@ -0,0 +1,30 @@ +//// +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +//// + +[#download] += Download + +You can manually download all published log4net distributions, verify them, and see their licensing information by following the instructions in the https://logging.apache.org/download.html[Download page] of https://logging.apache.org[Logging Services]. + +[TIP] +==== +* Are you looking for **the log4net installation instructions**? +Proceed to xref:manual/installation.adoc[]. +* Are you looking for the list of changes associated with a particular release? +Proceed to xref:release-notes.adoc[]. +==== + diff --git a/src/site/antora/modules/ROOT/pages/index.adoc b/src/site/antora/modules/ROOT/pages/index.adoc index 7176d71a..fe105b06 100644 --- a/src/site/antora/modules/ROOT/pages/index.adoc +++ b/src/site/antora/modules/ROOT/pages/index.adoc @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. //// +[#log4net] = log4net The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. diff --git a/src/site/antora/modules/ROOT/pages/manual/installation.adoc b/src/site/antora/modules/ROOT/pages/manual/installation.adoc new file mode 100644 index 00000000..1eee866a --- /dev/null +++ b/src/site/antora/modules/ROOT/pages/manual/installation.adoc @@ -0,0 +1,35 @@ +//// + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +//// + +[#install] += Install Apache log4net + +The preferred way to install log4net is to use our https://www.nuget.org/packages/log4net[nuget package]. + +Just add the following lines in your project file. +[source,xml] +---- + + + +---- +Now you can use log4net. See our https://github.com/apache/logging-log4net/tree/master/examples[examples]. + +[source,powershell] +---- +dotnet add package log4net +---- \ No newline at end of file