Skip to content

Commit c660516

Browse files
committed
libcore: De-export logging and pipes
1 parent 2891f5a commit c660516

File tree

2 files changed

+53
-75
lines changed

2 files changed

+53
-75
lines changed

src/libcore/logging.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
use cast::transmute;
88

9-
export console_on, console_off, log_type;
10-
119
#[nolink]
1210
extern mod rustrt {
1311
#[legacy_exports];
@@ -17,7 +15,7 @@ extern mod rustrt {
1715
}
1816

1917
/// Turns on logging to stdout globally
20-
fn console_on() {
18+
pub fn console_on() {
2119
rustrt::rust_log_console_on();
2220
}
2321

@@ -28,7 +26,7 @@ fn console_on() {
2826
* runtime environment's logging spec, e.g. by setting
2927
* the RUST_LOG environment variable
3028
*/
31-
fn console_off() {
29+
pub fn console_off() {
3230
rustrt::rust_log_console_off();
3331
}
3432

0 commit comments

Comments
 (0)